WOConditional

Version 3.1 by Pascal Robert on 2011/05/08 01:25

Introduction

A WOConditional object controls whether a portion of the HTML page will be generated, based on the evaluation of its assigned condition.

Usage


WOConditional {
  condition=aBoolean;
  [negate=aBoolean;]
}

Bindings

 negate  Inverts the sense of the condition. By default, negate is assumed to be false. 
 condition  If condition evaluates to true, and assuming that negate is false, the contents of the WOConditional are displayed (the portion of the component within the WOConditional is generated). 

Examples

Java methods

WOD-style


Inline bindings (WOOGNL)


Related documents

ERXWOConditional