|
The repeat define loop that controls the rendering of a repeat region. A collection is also defined, a member object of which is presented in every iteration of the loop.
The definition aspects is as discussed under the topic of the behavior-define section.
The loop aspect is illustrated with the JSTL tag below. This is for illustration, the appropriateness of this tag for JSF is limited, this owing to the component tree arrangement.
<c:forEach items=="#{books}"
var="i" begin="1" end="20" step="1" varStatus ="status"<
| define-id | var |
| value:O | begin |
| value:N | end |
| value:Step | step |
| data-source | items |
The common use of repeat region is to render tabular list, to satisfy this need, JSF provide the dataTable component, which includes a repeat region internally. See the component type description for more information on dataTable.
More details are available in the attributes descriptions
type
id
data-source
value
define-id
define-class
define-scope
|