Summary
Facelet Tag name: <c:forEach>
Facelet Tag class: org.apache.myfaces.view.facelets.tag.jstl.core.ForEachHandler
The basic iteration tag, accepting many different
collection types and supporting subsetting and other
functionality
Attributes
Name | Type | Required | Description |
---|---|---|---|
begin | int | false | If items specified: Iteration begins at the item located at the specified index. First item of the collection has index 0. If items not specified: Iteration begins with index set at the value specified. |
end | int | false | If items specified: Iteration ends at the item located at the specified index (inclusive). If items not specified: Iteration ends when index reaches the value specified. |
items | javax.el.ValueExpression | false | Collection of items to iterate over. |
step | int | false | Iteration will only process every step items of the collection, starting with the first one. |
var | String | false | Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection. |
varStatus | String | false | Name of the exported scoped variable for the status of the iteration. |