Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
The Rendered attribute specifies if the particular object is rendered. This attribute can be used with almost all visualforce components.
The values passed should be in the form of a boolean. Here is a quick example:
<apex:page rendered="{!ShouldIRender}"> <h1>Congratulations</h1> <p>This is your new page</p> </apex:page>
Controller:
public boolean getShouldIRender() { if (Some Condition) { return true; } else { return false; } }
The Rendered attribute specifies if the particular object is rendered. This attribute can be used with almost all visualforce components.
The values passed should be in the form of a boolean. Here is a quick example:
<apex:page rendered="{!ShouldIRender}"> <h1>Congratulations</h1> <p>This is your new page</p> </apex:page>
Controller:
public boolean getShouldIRender() { if (Some Condition) { return true; } else { return false; } }