function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bill ButtonBill Button 

Conditional Content on Visual Force Page

Hi,
 
Is it possible and if so how; to have conditional content on a visual force page. In the customer portal we have differnt types of Portal Users and based on a custom field called Brand on the account they are associated with, we want to display different content on a visual force page.
 
Regards
Bill Button
Business Systems Development Manager
hisrinuhisrinu
Hi,

Using the rerender property you can set this.
But you need to work around.
Your description is not clear, whether that brand field is using in the vf page or not?
dchasmandchasman
The rendered attribute is what you meant to say - rerender is used to specify the set of components to update in a partial page update (AJAX replacement).
hisrinuhisrinu
Hi Doug,

What ever you said correct, instead of writting rendered I written rerender.
Bill- Please use rendered not the rerender.