| CheckBox |
The CheckBox control creates a stand alone check box with an optional label.
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
|---|---|
label | Creates a label tag next to the input tag. |
labelposition | Where to place the label tag, "left" or "right"; default: left. |
id | id attribute of the checkbox input |
name | the name of the checkbox input; if omitted, will default to the id attribute |
value | XPath attribute determining the checkbox value which will be sent if the checkbox is checked |
init | XPath expression determining the initialization value; if this is equal to value, the checkbox will be checked |
enabled | true or false; if false, the checkbox is grayed and cannot be checked or unchecked |
None.
Element | Description |
|---|---|
any xhtml or xsl element |
The XHTML structure created by the acs:CheckBox is the following:
<input id="myid" value="myvalue" type="checkbox" name="myid" checked=""><label for="myid">My option</label>
<acs:CheckBox id="myid" label="My option" init="USER/MYOPTION" value="myvalue" />