Logic Tags
Tag iftrue


This tag is displayed if the surrounding logic.if tag evaluates to true.

Example:
<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 Nameiftrue
Required Parent Tagif

Attributes
No Attributes Defined.


Copyright 2005 Plumtree Software, Inc.