You need to sign in to do that
Don't have an account?
Alex Sh
Display different visualforce section depending on selected type
I have VF page with two pageBlockSections. I need to display it in Object page. But when Object type -> 'Single', only first pageBlockSections from VF page should be displayed in Object page. How can I do this?
Thanks!
Thanks!
You can use rendered atribute to hide and show sections conditionally
<apex:pageBlockSection rendered="{!bjectType='Single',true,false}">
First Section componets
</apex:pageBlockSection>
Let me know this will help or not.
All Answers
You can use rendered atribute to hide and show sections conditionally
<apex:pageBlockSection rendered="{!bjectType='Single',true,false}">
First Section componets
</apex:pageBlockSection>
Let me know this will help or not.
That works. It was so easy.