OpenWGA 7.6 - WebTML reference
WebTML tags<tml:then>
Description :
Renders its content if the condition is of the surrounding <tml:if> tag is "true".
Derived from:
Only available in the following parent tags:
Attributes:
show inherited attributes ... | |||
Name | Value(s) | Purpose |
Details:
If the contents of the <tml:then> tag is not rendered because the <tml:if> condition is not true then it will also not write WebTML variables that may have been specified by any variable-writing attributes on it like var, pvar, sessionvar etc.
Examples:
A simple if/then/else structure:
<tml:if condition="...">
<tml:then>
do something ...
</tml:then>
<tml:else>
do something else
</tml:else>
</tml:if>