Skip to content

<forEach>

Attributes

Name Description Required Default
dependenciesScope Defines the method for passing Dependencies to immediate children. Valid values are new, copy, and inherit. no copy
indexVar no null
items yes null
multiChild no null
nullable no null
var yes null

Example

XML
<forEach var="user" items="${users}">

</forEach>