WOCheckBox
Synopsis
WOCheckBox{[name = fieldName;]
[value = defaultValue;
[selection = selectedValue;]] |
[checked = YES|NO;]
[disabled = YES|NO;] ... };
Description
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"...>.
- name
-
A name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
- value
-
Sets the value of this input element. If not specified, WebObjects provides a default value.
- selection
-
If selection is specified in addition to value, on output if selection is the same as value, the check box is set. On input the selection attribute is set to the value of the selected check box. [[ck this]]
- checked
-
On output, if checked evaluates to YES, the check box appears in the checked state. On input, checked reflects the state the user left the check box in: YES if checked; NO if not.
- disabled
-
If disabled evaluates to YES, this element appears in the page but is not active.
Examples