10. Trinidad Core Tag Reference
Contents > Trinidad Core Tag Reference > tr:iterator
tr:iterator |
|
The tr:iterator tag processes each item during rendering.
Example
<tr:iterator></tr:iterator>
HTML Output
(No output.)
|
Tag Attributes
| attributeChangeListener |
Text |
| |
| The attributeChangeListener attribute contains the reference to a method that is invoked when the renderer changes a property without the application’s request. |
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| first |
Text |
| |
| The first attribute sets the index (zero based) of the first row of a range of rows that are displayed. |
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| rows |
Text |
| |
| The rows attribute sets the number of rows to display, starting from the row identified by the "first" attribute. If the value of the rows attribute is set to zero, all available rows in the underlying data model will be displayed. |
| value |
Text |
| |
| The value attribute sets the current value for this component. |
| var |
Text |
| |
| The var attribute sets the name of a request-scope attribute exposing the data for each iteration over the rows in the underlying data model for this table. |
| varStatus |
Text |
| |
| The varStatus attribute sets the EL variable used for contextual information about the state of the component and loop counter information for components that iterate. Common properties are “model” (returns CollectionModel) and “index” (returns zero based row index). |
| first |
Text |
| |
| The first attribute sets the index (zero based) of the first row of a range of rows that are displayed. |
|