OpenWGA 7.10 - WebTML reference

WebTML tags

<tml:groupchange>

Description :
Used inside of tml:foreach. Monitors the value of a term during a iteration. Does the value change during a iteration, the body of the tag will be displayed. Useful for group changes inside a list iteration.
Derived from: Only available in the following parent tags: Attributes:
show inherited attributes ...
Name Value(s) Purpose
expression groupexpression The result of this expression is the base for the group change.
id tag-id The use of the attribute "id" (available for all tags) is obligatory for group change.

Tag-Infos :
currentvalue: The current value of group change expression

Examples:

<tml:collection>

    <tml:query>...</tml:query>

    <tml:foreach sortorder="descending" sortexpression="date">


      <tml:groupchange id="groupchange" expression="date">
        <b><tml:taginfo sourcetag="groupchange" name="currentValue" /></b>
      </tml:groupchange>

      <tml:metadata name="Title"/>

    </tml:foreach>
</tml:collection>