OpenWGA 7.6 - WebTML reference

WebTML tags » foreach

<tml:foreach currentvalue ="variable">

Purpose:

For type="itemvalue", type="loop" und type="tagresult" the current values of the iteration were written to the specified variable.

Examples:

<tml:foreach type="loop" count="26" currentvalue="c">

    <tml:evaluate var="char">
      @char(64+c)
    </tml:evaluate>
    <a href="javascript:search('<tml:item name="char"/>')"><tml:item name="char"/></a>
</tml:foreach>