OpenWGA 5.4 - WebTML reference

WebTML tags

<tml:between>

Description :
Evaluate the body if the current iteration is not the last one of the corresponding tml:foreach-tag.
Derived from: Only available in the following parent tags: Attributes:
show inherited attributes ...
Name Value(s) Purpose

Details:
This tag is used to display information within a <tml:foreach> which should be displayed between iterations but not before the first and after the last iteration. To achive this you can put <tml:between> on the end of the body of <tml:foreach>.
Examples:

<tml:collection>

    <tml:query> ... </tml:query>
    <tml:foreach>
      <tml:link/><br>
      <tml:item name="body"/>
      <tml:between><hr></tml:between>
    </tml:foreach>
</tml:collection>

This example displays links and their corresponding descriptions (item 'body'). Between each row <tml:between> is used to render an <hr> tag.