Appears in: many
An element that renders its body repeatedly, much like a Foreach
component.
An expression supplies a collection or array of objects, and its body is
rendered for each element in the collection.
Figure D.2. <foreach>
Attributes
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
key | string | yes | The symbol to be updated with each successive value. | |
expression | string | yes | The OGNL expression which provides the source of elements. | |
index | string | no | If specified, then the named symbol is updated with each successive index. |