Changes for page WOCheckBox

Last modified by Filippo Laurìa on 2013/09/08 12:44

From version 3.1
edited by Pascal Robert
on 2011/05/08 01:22
Change comment: There is no comment for this version
To version 5.1
edited by Filippo Laurìa
on 2013/09/08 12:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.filippolauria
Content
... ... @@ -1,5 +2,7 @@
1 -{{toc}}{{/toc}}
2 2  
2 +
3 +{{toc/}}
4 +
3 3  = Introduction =
4 4  
5 5  A WOCheckBox object displays itself in the HTML page as its namesake, a check box user interface control. It corresponds to the HTML element <INPUT TYPE="CHECKBOX"...>.
... ... @@ -9,7 +9,6 @@
9 9  = Usage =
10 10  
11 11  {{code}}
12 -
13 13  WOCheckBox {
14 14   value=defaultValue;
15 15   [selection=selectedValue;]
... ... @@ -27,11 +27,31 @@
27 27  
28 28  = Bindings =
29 29  
30 -| value | Value of this input element. If not specified, WebObjects provides a default value.
31 -| selection | If selection and value are equal when the page is generated, the check box is checked. When the page is submitted, selection is assigned the value of the check box.
32 -| checked | During page generation, if checked evaluates to true, the check box appears in the checked state. During request handling, checked reflects the state the user left the check box in: true if checked; false if not.
33 -| name | Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
34 -| disabled | If disabled evaluates to true, this element appears in the page but is not active. That is, selection won't contain the user's selection when the page is submitted.
31 +|(((
32 +value
33 +)))|(((
34 +Value of this input element. If not specified, WebObjects provides a default value.
35 +)))
36 +|(((
37 +selection
38 +)))|(((
39 +If selection and value are equal when the page is generated, the check box is checked. When the page is submitted, selection is assigned the value of the check box.
40 +)))
41 +|(((
42 +checked
43 +)))|(((
44 +During page generation, if checked evaluates to true, the check box appears in the checked state. During request handling, checked reflects the state the user left the check box in: true if checked; false if not.
45 +)))
46 +|(((
47 +name
48 +)))|(((
49 +Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
50 +)))
51 +|(((
52 +disabled
53 +)))|(((
54 +If disabled evaluates to true, this element appears in the page but is not active. That is, selection won't contain the user's selection when the page is submitted.
55 +)))
35 35  
36 36  = Examples =
37 37  
... ... @@ -40,15 +40,13 @@
40 40  == WOD-style ==
41 41  
42 42  {{code}}
43 -
44 -
64
45 45  {{/code}}
46 46  
47 47  == Inline bindings (WOOGNL) ==
48 48  
49 49  {{code}}
50 -
51 -
70 +<wo:checkbox name="MyCheck" checked = "~true" />
52 52  {{/code}}
53 53  
54 54  = Related documents =