Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Perform basic condition flow. 'If' tag could be used by itself or with 'Else If' Tag and/or single/multiple 'Else' Tag.

Parameters

Name

Required

Default

Type

Description

id false   Object/String id for referencing element. For UI and form tags it will be used as HTML id attribute

Examples

<ww:if test="%{false}">
	    <div>Will Not Be Executed</div>
 </ww:if>
	<ww:elseif test="%{true}">
	    <div>Will Be Executed</div>
 </ww:elseif>
 <ww:else>
	    <div>Will Not Be Executed</div>
 </ww:else>