OpenWGA 7.5 - WebTML reference

WebTML tags

<tml:elseif>

Description :

Used in a <tml:if> selection to define code that may be put out when the if condition fails, but some other condition is matched

Derived from: Only available in the following parent tags: Attributes:
show inherited attributes ...
Name Value(s) Purpose

Details:

When the condition of the surrounding <tml:if> tag is false then the conditions of contained <tml:elseif> tags are evaluated in the order in which those tags are defined. Therefor <tml:elseif> accepts all the condition attributes that are also allowed for <tml:if>.

The first <tml:elseif> tag whose conditions evaluate to true will put out its contents. All further <tml:elseif> tags will be skipped, as will a final <tml:else> tag.

If the contents of the <tml:elseif> tag is not rendered because its condition is false or earlier <tml:if> or <tml:elseif> condition ares 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:
See <tml:if>