forEachBegin"
From Documentation
m |
m (correct highlight (via JWB)) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
forEachBegin="${''an-EL-expr''}" | forEachBegin="${''an-EL-expr''}" | ||
− | It is used with the < | + | It is used with the <code>forEach</code> attribute to specify the index (starting from 0) that the iteration should begin at. If not specified, the iteration begins at the first element, i.e., 0 is assumed. |
− | If < | + | If <code>forEachBegin</code> is greater than or equals to the number of elements, no iteration is performed. |
− | Note: < | + | Note: <code>forEachStatus.index</code> always starts from 0, no matter what <code>forEachBegin</code> is. |
==Version History== | ==Version History== |
Latest revision as of 13:27, 19 January 2022
Syntax:
forEachBegin="${an-EL-expr}"
It is used with the forEach
attribute to specify the index (starting from 0) that the iteration should begin at. If not specified, the iteration begins at the first element, i.e., 0 is assumed.
If forEachBegin
is greater than or equals to the number of elements, no iteration is performed.
Note: forEachStatus.index
always starts from 0, no matter what forEachBegin
is.
Version History
Version | Date | Content |
---|---|---|