<if> element

Appears in: many

Conditionally renders its body, if a supplied OGNL expression is true.

Figure D.4. <if> Attributes

NameTypeRequired ?Default ValueDescription
expressionstringyes The OGNL expression to be evaluated.

Figure D.5. <if> Elements


  (text | <foreach> | <if> | <if-not> | <unique>) *