April 2013

Salesforce

Hide and show example using Apex in Salesforce

Sample Code: Visualforce page: <apex:page controller="HideAndShow" sidebar="false" showHeader="false" ><apex:form ><p style="font-weight:800; color:#4C0000;">&nbsp;&nbsp;&nbsp;Click the buttons below to experiment Hide and Show.</p>    <apex:pageBlock title="Block A" rendered="{!abool}">        This is Block A.<br/><br/>            </apex:pageBlock>    ....