<if> element

Appears in: many

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

Figure B.4. <if> Attributes

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

Figure B.5. <if> Elements

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