OpenWGA 7.11 - WebTML reference
WebTML tags » foreach<tml:foreach type="loop" >
Purpose:
Iterates a given number of times
Description:
Specify the times to iterate via attribute count. The attribute currentvalue can be used to determine the name of a variable which will hold the number of the current iteration.
Examples:
A loop that iterates over the number of pages that a paged navigator offers. For each page it generates a link to directly reach this page.
<tml:navigator id="nav" pagesize="5">
...
</tml:navigator>
<a href="<tml:url type="selectpage" sourcetag="hotpages" page="{page}"/>"> <tml:item name="page"/> </a>
</tml:foreach>