No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
apex:variable
A local variable that can be used as a replacement for a specified expression within the body of the component. Use <apex:variable> to reduce repetitive and verbose expressions within a page.
Note: <apex:variable> does not support reassignment inside of an iteration component, such as <apex:dataTable> or <apex:repeat>. The result of doing so, e.g., incrementing the <apex:variable> as a counter, is unsupported and undefined.
Example
Attributes
| Attribute Name | Attribute Type | Description | Required? | API Version | Access |
|---|---|---|---|---|---|
| id | String | An identifier that allows the component to be referenced by other components in the page. | 10.0 | global | |
| rendered | Boolean | A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. | 10.0 | global | |
| value | Object | The expression that can be represented by the variable within the body of the variable component. | Yes | 10.0 | global |
| var | String | The name of the variable that can be used to represent the value expression within the body of the variable component. | Yes | 10.0 | global |