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…')
 
m (correct highlight (via JWB))
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== The forEachBegin Attribute ==
+
{{ZUMLReferencePageHeader}}
 +
 
 +
'''Syntax:'''
 
  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 <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 <code>forEachBegin</code> is greater than or equals to the number of elements, no iteration is performed.
 +
 
 +
Note: <code>forEachStatus.index</code> always starts from 0, no matter what <code>forEachBegin</code> is.
 +
 
 +
==Version History==
  
If <tt>forEachBegin</tt> is greater than or equals to the number of elements, no iteration is performed.
+
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
  
Note: <tt>forEachStatus.index</tt> always starts from 0, no matter what <tt>forEachBegin</tt> is.
+
{{ZUMLReferencePageFooter}}

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
     



Last Update : 2022/01/19

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