forEachBegin

From Documentation
Revision as of 02:13, 8 July 2010 by Maya001122 (talk | contribs) (Created page with '== The forEachBegin Attribute == forEachBegin="${''an-EL-expr''}" It is used with the <tt>forEach</tt> attribute to specify the index (starting from 0) that the iteration shall…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The forEachBegin Attribute

forEachBegin="${an-EL-expr}"

It is used with the forEach attribute to specify the index (starting from 0) that the iteration shall 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.