OpenWGA 7.0 - WebTML reference
WebTML tags<tml:case>
Description :
A simple condition tag which evaluates its body when the condition is 'true'. In combination with <tml:select> multi level conditions can be constructed.
Derived from:
Attributes:
show inherited attributes ... | |||
Name | Value(s) | Purpose | |
value | number | string |
Defines the value to compare to the 'switch' value of the surrounding <tml:select>. |
Examples:
Usage in combination with <tml:select>:
Usage standalone:
<tml:select>
<tml:case isempty="headline">
No headline defined
</tml:case>
<tml:caseelse>
Headline: <tml:item name="headline"/>
</tml:caseelse>
</tml:select>
Usage standalone:
<tml:case isselected="true">
<tml:include ref="subnavigation"/>
</tml:case>