forEachBegin"

From Documentation
(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…')
 
Line 1: Line 1:
== The forEachBegin Attribute ==
+
 
 
  forEachBegin="${''an-EL-expr''}"
 
  forEachBegin="${''an-EL-expr''}"
  

Revision as of 01:55, 9 July 2010

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.