Renders an HTML checkbox, based on a boolean value.
See also: org.apache.tapestry.form.Checkbox , Form
Name | Type | Required | Default | Description |
---|---|---|---|---|
value | boolean | yes | Value editted by the component; read on render, updated on form submit. This sets the check attribute of the rendered element. Deprecated alias: selected. | |
displayName | string | no | The user-presentable name for the component, which will be used by a FieldLabel connected to the component. | |
disabled | boolean | no | false | If true, then the checkbox will render as disabled and any input from the checkbox will be ignored. |
id | string | no | Sets the id attribute for the rendered <input> element. |
|
validators | Array or collection of Validator | no |
The validators to apply to the component. Something along the lines of:
validators:required .See also: Validation |
|
translator | Translator | no |
The translator to use when displaying and parsing the date.
See also: Validation |
Body: removed
Informal parameters: allowed
Reserved parameters: type, checked, name