forEachBegin"

From Documentation
m
Line 4: Line 4:
 
  forEachBegin="${''an-EL-expr''}"
 
  forEachBegin="${''an-EL-expr''}"
  
It is used with the <tt>forEach</tt> 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.
+
It is used with the <tt>forEach</tt> 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 <tt>forEachBegin</tt> is greater than or equals to the number of elements, no iteration is performed.
 
If <tt>forEachBegin</tt> is greater than or equals to the number of elements, no iteration is performed.

Revision as of 06:14, 1 August 2011

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
     



Last Update : 2011/08/01

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.