| |||||||
FRAMES NO FRAMES |
<pt:logic.collectionlength pt:data="testcollection" pt:key="length"/>
<pt:logic.intexpr pt:expr="($length) > 1" pt:key="boolvalue"/>
<pt:logic.if pt:expr="$boolvalue">
<pt:logic.iftrue>
This is displayed if expr evaluates to true.
</pt:logic.iftrue>
<pt:logic.iffalse>
This is displayed if expr evaluates to false.
</pt:logic.iffalse>
</pt:logic.if>
Tag Information | |
Tag Name | if |
Related Child Tag(s) | iftrue iffalse |
Attributes | ||||
Name | Type | Required | Default Value | Description |
expr | boolean | true | null | A boolean value (i.e. true or false). This can be input as an tag variable using the $ attribute notation (i.e. pt:expr="$myboolean"). |
| |||||||
FRAMES NO FRAMES |