The for Tag
Description
The for tag allows for initializing, incrementing and testing a value to create a
processing loop. Much like the for loop of c, c++, java, ...
Type: Control
Attributes:
- test
- any valid combination of constant, variable or method name
- operator
- eq | ne | lt | gt | le| ge
- from
- any valid combination of constant, variable or method name
- to
- any valid combination of constant, variable or method name
- by
- any valid combination of constant, variable or method name
Loop Control: NO
Containing Tags
almost all
Used Within Tags - suggested
almost anywhere
Example
<for test="loopCounter" from=""${one}" operator="gt" to="10">
</for>
or
<for test="loopRegressor" from="100" operator="le" to="0" by="-1">
</for>