OpenWGA 7.9 - WebTML reference

WebTML tags » foreach

<tml:foreach expression ="TMLScript-expression">

Purpose:

Executes a TMLScript expression whose result is used as iteration item

Description:

This is a variant of attribute item which does not take the iterable value from an item but calculates it dynamically using any TMLScript expression. Otherwise it works just like type="itemvalue" as the foreach tag will iterate over the values of the resulting iterable.

Value(s):

A TMLScript expression