...
@see META-INF/webworl.tld
Examples
If, ElseIf, Else Tag
Preform basic condition flow. 'If' tag could be used by itself or with 'Else If' Tag and/or single/multiple 'Else' Tag.@see META-INF/webworl.tld
Attribute | Type | Required | Description |
---|---|---|---|
test | Boolean | Yes | Logic to determined if body of tag is to be displayed |
Code Block |
---|
<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> |
...