forEachBegin"

From Documentation
m
m (correct highlight (via JWB))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ZKZUMLReferencePageHeader}}
+
{{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 <tt>forEachBegin</tt> is greater than or equals to the number of elements, no iteration is performed.
+
If <code>forEachBegin</code> is greater than or equals to the number of elements, no iteration is performed.
  
Note: <tt>forEachStatus.index</tt> always starts from 0, no matter what <tt>forEachBegin</tt> is.
+
Note: <code>forEachStatus.index</code> always starts from 0, no matter what <code>forEachBegin</code> is.
  
 
==Version History==
 
==Version History==
Line 19: Line 20:
 
|}
 
|}
  
{{ZKZUMLReferencePageFooter}}
+
{{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.