| |||||||
FRAMES NO FRAMES |
<pt:logic.variable pt:key="title" pt:value="Administrator"/>
<pt:logic.stringexpr pt:expr="($title) == Administrator" 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 | stringexpr |
Attributes | ||||
Name | Type | Required | Default Value | Description |
expr | string | true | null | A tag variable, followed by a space and a string comparator, and then another space and a string value or another tag variable. The tag variable must be in $ attribute notation surrounded by parentheses. The following operators are allowed: '==' and '!='. |
key | string | true | null | The key used to store the result in memory. |
scope | string | false | portlet request | The scope used to store the result in memory. See the Logic tag library description for details about valid scope arguments. |
| |||||||
FRAMES NO FRAMES |