-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
5Questions
-
8Replies
Unable to Rendered the particular pageBlock Section
Hi every one i'm unable to rendered the particular section of fields in edit view from my custom vf page.
<apex:page standardController="Event__c">
<apex:sectionHeader title="New Event"> </apex:sectionHeader>
<apex:form >
<apex:pageBlock title="Event Edit" mode="edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value=" Save"> </apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlock rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="Educator’s Name" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Education_Team_Member__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_text__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Return_Visit_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Topic__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Subject__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Visit_for_academic_year_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Schools__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Address__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grade_Level_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Teacher_s_Name_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_students__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Content_Area_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Presentation_Description_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Student_Mastery_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Total_Staff_Hours_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Supplies_Cost_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_ed__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Pictures_uploaded_to_dropbox_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}" ></apex:inputField>
<apex:inputField value="{!Event__c.Mistery__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Type_of_Grant__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Service_Project_Y_N__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="Sweeps Name" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Sweeps_Crew_Leader_del__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_in_crew_del__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_workers__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Code_Issues_Reported__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Intersections__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_intersections_cleaned__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_intersections__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_parkes_cleaned_in_the_area__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_parks__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_s_del_c__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Is_this_location_in_NCEEP__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Streets_Covered__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="Partnership Name" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_ps__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_p__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_Type_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Category__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Reported_YTD_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Resolved_YTD_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Quarterly_cleanup_event_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Monthly_cleanup1__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Trash_Bags__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_psp_Tires__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Partners_Description1__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="ServiceProjects Name" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Group_Organization__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Contact_info__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_sponsor__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Other_Partners1__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Does_this_Project_Related_to_NCEEP1__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:pageBlock>
</apex:form>
</apex:page>
<apex:page standardController="Event__c">
<apex:sectionHeader title="New Event"> </apex:sectionHeader>
<apex:form >
<apex:pageBlock title="Event Edit" mode="edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value=" Save"> </apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlock rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="Educator’s Name" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Education_Team_Member__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_text__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Return_Visit_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Topic__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Subject__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Visit_for_academic_year_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Schools__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Address__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grade_Level_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Teacher_s_Name_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_students__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Content_Area_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Presentation_Description_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Student_Mastery_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Total_Staff_Hours_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Supplies_Cost_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_ed__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Pictures_uploaded_to_dropbox_del__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}" ></apex:inputField>
<apex:inputField value="{!Event__c.Mistery__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Type_of_Grant__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Service_Project_Y_N__c}" rendered="{!IF(Event__c.EventValueEUD__c =''|| Event__c.EventValueEUD__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="Sweeps Name" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Sweeps_Crew_Leader_del__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_in_crew_del__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_workers__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Code_Issues_Reported__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Intersections__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_intersections_cleaned__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_intersections__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_parkes_cleaned_in_the_area__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_parks__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_s_del_c__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Is_this_location_in_NCEEP__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Streets_Covered__c}" rendered="{!IF(Event__c.EventValueSwp__c =''|| Event__c.EventValueSwp__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="Partnership Name" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_ps__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_p__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_Type_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Category__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Reported_YTD_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Resolved_YTD_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Quarterly_cleanup_event_del__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Monthly_cleanup1__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Trash_Bags__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_psp_Tires__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Partners_Description1__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}" rendered="{!IF(Event__c.EventValuePsp__c =''|| Event__c.EventValuePsp__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}">
<apex:pageBlockSection title="Information" columns="1">
<apex:inputField value="{!Event__c.Name}" required="true" label="ServiceProjects Name" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Group_Organization__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Contact_info__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_sponsor__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Other_Partners1__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
<apex:inputField value="{!Event__c.Does_this_Project_Related_to_NCEEP1__c}" rendered="{!IF(Event__c.EventValueSP__c =''|| Event__c.EventValueSP__c= null ,true,false)}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:pageBlock>
</apex:form>
</apex:page>
- SK chanti
- July 09, 2015
- Like
- 0
Rendered
Hi all,
Iam unable to rendered the page block which i required wnen the field valiue is 'XXX'.
Can anyone help me over here.Below is my custom vfpage.
<apex:page standardController="Event__c">
<apex:sectionHeader title="New Event"> </apex:sectionHeader>
<apex:form >
<apex:pageBlock title="Event Edit" mode="edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value=" Save "> </apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Information" columns="1">
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'Education', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Educator’s Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Education_Team_Member__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_text__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Return_Visit_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Topic__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Subject__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Visit_for_academic_year_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Schools__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Address__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grade_Level_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Teacher_s_Name_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_students__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Content_Area_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Presentation_Description_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Student_Mastery_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Total_Staff_Hours_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Supplies_Cost_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_ed__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Pictures_uploaded_to_dropbox_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mistery__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Type_of_Grant__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Service_Project_Y_N__c}"></apex:inputField>
</apex:pageblock>
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'SweepLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Sweeps Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Sweeps_Crew_Leader_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_in_crew_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_workers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Code_Issues_Reported__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_intersections_cleaned__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_parkes_cleaned_in_the_area__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_parks__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_s_del_c__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Is_this_location_in_NCEEP__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Streets_Covered__c}"></apex:inputField>
</apex:pageBlock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'PartnershipLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Partnership Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_ps__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_p__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_Type_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Category__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Reported_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Resolved_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Quarterly_cleanup_event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Monthly_cleanup1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Trash_Bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_psp_Tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Partners_Description1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
</apex:pageblock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'Serviceproject', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="ServiceProjects Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Group_Organization__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Contact_info__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_sponsor__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Other_Partners1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Does_this_Project_Related_to_NCEEP1__c}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Iam unable to rendered the page block which i required wnen the field valiue is 'XXX'.
Can anyone help me over here.Below is my custom vfpage.
<apex:page standardController="Event__c">
<apex:sectionHeader title="New Event"> </apex:sectionHeader>
<apex:form >
<apex:pageBlock title="Event Edit" mode="edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value=" Save "> </apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Information" columns="1">
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'Education', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Educator’s Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Education_Team_Member__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_text__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Return_Visit_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Topic__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Subject__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Visit_for_academic_year_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Schools__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Address__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grade_Level_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Teacher_s_Name_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_students__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Content_Area_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Presentation_Description_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Student_Mastery_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Total_Staff_Hours_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Supplies_Cost_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_ed__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Pictures_uploaded_to_dropbox_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mistery__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Type_of_Grant__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Service_Project_Y_N__c}"></apex:inputField>
</apex:pageblock>
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'SweepLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Sweeps Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Sweeps_Crew_Leader_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_in_crew_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_workers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Code_Issues_Reported__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_intersections_cleaned__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_parkes_cleaned_in_the_area__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_parks__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_s_del_c__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Is_this_location_in_NCEEP__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Streets_Covered__c}"></apex:inputField>
</apex:pageBlock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'PartnershipLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Partnership Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_ps__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_p__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_Type_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Category__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Reported_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Resolved_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Quarterly_cleanup_event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Monthly_cleanup1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Trash_Bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_psp_Tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Partners_Description1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
</apex:pageblock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'Serviceproject', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="ServiceProjects Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Group_Organization__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Contact_info__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_sponsor__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Other_Partners1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Does_this_Project_Related_to_NCEEP1__c}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
- SK chanti
- July 07, 2015
- Like
- 0
Override the edit button
Hi every one,
I have three vf page for 3 different values depending on the picklist iam showing the vfpage for that particular value now iam unable to show the same page in detail view and Edit view can anyon e help me over her.
I know it can be done by Record types but i want to do this through vfpages. Can anyone help me over here.
Regards,
SK
I have three vf page for 3 different values depending on the picklist iam showing the vfpage for that particular value now iam unable to show the same page in detail view and Edit view can anyon e help me over her.
I know it can be done by Record types but i want to do this through vfpages. Can anyone help me over here.
Regards,
SK
- SK chanti
- July 01, 2015
- Like
- 0
Opportunity as related list in my custom vf page
Hi all,
I want to show the contacts and Opportunities as related list when ever a account is selected from lookup in my custom vf page.
regards,
SK.
I want to show the contacts and Opportunities as related list when ever a account is selected from lookup in my custom vf page.
regards,
SK.
- SK chanti
- June 15, 2015
- Like
- 0
Rendered
Hi all,
Iam unable to rendered the page block which i required wnen the field valiue is 'XXX'.
Can anyone help me over here.Below is my custom vfpage.
<apex:page standardController="Event__c">
<apex:sectionHeader title="New Event"> </apex:sectionHeader>
<apex:form >
<apex:pageBlock title="Event Edit" mode="edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value=" Save "> </apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Information" columns="1">
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'Education', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Educator’s Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Education_Team_Member__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_text__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Return_Visit_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Topic__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Subject__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Visit_for_academic_year_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Schools__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Address__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grade_Level_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Teacher_s_Name_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_students__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Content_Area_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Presentation_Description_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Student_Mastery_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Total_Staff_Hours_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Supplies_Cost_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_ed__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Pictures_uploaded_to_dropbox_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mistery__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Type_of_Grant__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Service_Project_Y_N__c}"></apex:inputField>
</apex:pageblock>
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'SweepLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Sweeps Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Sweeps_Crew_Leader_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_in_crew_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_workers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Code_Issues_Reported__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_intersections_cleaned__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_parkes_cleaned_in_the_area__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_parks__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_s_del_c__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Is_this_location_in_NCEEP__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Streets_Covered__c}"></apex:inputField>
</apex:pageBlock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'PartnershipLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Partnership Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_ps__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_p__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_Type_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Category__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Reported_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Resolved_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Quarterly_cleanup_event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Monthly_cleanup1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Trash_Bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_psp_Tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Partners_Description1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
</apex:pageblock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'Serviceproject', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="ServiceProjects Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Group_Organization__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Contact_info__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_sponsor__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Other_Partners1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Does_this_Project_Related_to_NCEEP1__c}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Iam unable to rendered the page block which i required wnen the field valiue is 'XXX'.
Can anyone help me over here.Below is my custom vfpage.
<apex:page standardController="Event__c">
<apex:sectionHeader title="New Event"> </apex:sectionHeader>
<apex:form >
<apex:pageBlock title="Event Edit" mode="edit">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value=" Save "> </apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Information" columns="1">
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'Education', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Educator’s Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Education_Team_Member__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_text__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Return_Visit_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Topic__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Subject__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Visit_for_academic_year_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Schools__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Address__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grade_Level_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Teacher_s_Name_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_students__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Content_Area_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Presentation_Description_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Student_Mastery_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Total_Staff_Hours_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Supplies_Cost_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_ed__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Pictures_uploaded_to_dropbox_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mistery__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Type_of_Grant__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Service_Project_Y_N__c}"></apex:inputField>
</apex:pageblock>
<apex:pageBlock rendered="{IF(!Events__c.EventValueSwp__c == 'SweepLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Sweeps Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Sweeps_Crew_Leader_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_in_crew_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_workers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Code_Issues_Reported__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_intersections_cleaned__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_intersections__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_parkes_cleaned_in_the_area__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Description_of_the_parks__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_s_del_c__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Is_this_location_in_NCEEP__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Mileage__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Streets_Covered__c}"></apex:inputField>
</apex:pageBlock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'PartnershipLayout', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="Partnership Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_ps__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Grant_p__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_Type_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Category__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Reported_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Code_Issues_Resolved_YTD_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Quarterly_cleanup_event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Monthly_cleanup1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Trash_Bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_psp_Tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Partners_Description1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
</apex:pageblock>
<apex:pageblock rendered="{IF(!Events__c.EventValuePsp__c == 'Serviceproject', true,false)}">
<apex:inputField value="{!Event__c.Name}" required="true" label="ServiceProjects Name"></apex:inputField>
<apex:inputField value="{!Event__c.Date__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Location_of_Event_del__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Group_Organization__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Contact_info__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_Volunteers__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_bags__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Number_of_tires__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Cost__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Event_sponsor__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Other_Partners1__c}"></apex:inputField>
<apex:inputField value="{!Event__c.Does_this_Project_Related_to_NCEEP1__c}"></apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
- SK chanti
- July 07, 2015
- Like
- 0