Changes for page WOConditional
Last modified by Pascal Robert on 2012/01/30 22:36
From version 8.1
edited by Pascal Robert
on 2011/04/26 23:07
on 2011/04/26 23:07
Change comment:
There is no comment for this version
To version 9.1
edited by Pascal Robert
on 2012/01/30 22:36
on 2012/01/30 22:36
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,15 +2,24 @@ 2 2 3 3 = Introduction = 4 4 5 +A WOConditional object controls whether a portion of the HTML page will be generated, based on the evaluation of its assigned condition. 6 + 5 5 = Usage = 6 6 7 7 {{code}} 8 8 11 +WOConditional { 12 + condition=aBoolean; 13 + [negate=aBoolean;] 14 +} 9 9 10 10 {{/code}} 11 11 12 12 = Bindings = 13 13 20 +| negate | Inverts the sense of the condition. By default, negate is assumed to be false. 21 +| 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). 22 + 14 14 = Examples = 15 15 16 16 == Java methods == ... ... @@ -30,3 +30,5 @@ 30 30 {{/code}} 31 31 32 32 = Related documents = 42 + 43 +[[ERXWOConditional>>http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/conditionals/ERXWOConditional.html]]