You need to sign in to do that
Don't have an account?
VF Page + Extension
Hi,
The scenario i have is as below.
I have three Custom Obj named Project related Custom Object Budget. Third Custom Object is Period which consist Date Field and
few formula fields which comes up with CFY and CFYQ1,2,3/4.
So here i design a VF Page which accept two fields (1) Period (Lookup to Period Custom Obj) (2) Value (Currency)
I would like to calculate Total Budget for the Project. But i don't know how to write achieve this,
<apex:page standardController="Budget__c" showheader="true" extensions="BudgetDetailController"><apex:form > <apex:pageBlock title="{!Budget__c.pmo_project__r.name}" mode="edit"> <apex:pageBlockButtons > <apex:commandButton action="{!addMore}" value="Add More" reRender="in , out"/> </apex:pageBlockButtons> <apex:pageBlockSection title="Budget Entry Page" columns="2"> <apex:inputField value="{!Budget__c.Period__c}"/> <apex:inputField value="{!Budget__c.Value__c}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> <!-- Ajax call for Budget Entry Page --> <apex:pageBlock id="out" title="Monthly Read View"> <apex:dataTable value="{!myBudgets}" var="aBudget" width="100%" > <apex:column > <apex:facet name="header"><b>Name</b></apex:facet> {!aBudget.Name} </apex:column> <apex:column > <apex:facet name="header"><b>Period</b></apex:facet> {!aBudget.Period__r.Month_Info__c} </apex:column> <apex:column > <apex:facet name="header"><b>Value</b></apex:facet> {!aBudget.Value__c} </apex:column> <apex:column > <apex:facet name="header"><b>Quater Information</b></apex:facet> {!aBudget.period__r.Quarter_Info__c} </apex:column> </apex:dataTable> </apex:pageBlock> <apex:pageBlock id="in" title="Quaterly Read View"> <apex:dataTable value="{!myBudgetsquaters}" var="aBudget" width="100%" > <apex:column > <apex:facet name="header"><b>Year</b></apex:facet> {!total} </apex:column> </apex:dataTable> </apex:pageBlock> </apex:page>
I am trying to develop a search functionality. The issues are
1) When no result is present then it should display 'No Result Found'. This is not working.