PropertySelection Home RadioGroup

Radio
org.apache.tapestry.form.Radio
Radio
 
Description
Provides a HTML <input type="radio"> form element. The Radio component must be wrapped (possibly indirectly) inside a RadioGroup component.

Generally the PropertySelection component is used in preference to the Radio and RadioGroup, except in special cases.

See Also
Form, Option, PropertySelection, RadioGroup, Select
Parameters
Name Type Direction Required Default Description
value Object in no   The value is used to determine if the radio button is initially selected (when rendering) and is the value assigned to the selected parameter when the form is submitted, if the HTML radio button is selected.
disabled booleant in no false If true, then the Radio is disabled. It will write a "disabled" attribute into its tag when rendering, and will not update its selected binding.

A binding may also be disabled if its containing RadioGroup is disabled.

The "disabled" attribute is ignored by Netscape Navigator 4.

Body: removed
Informal parameters:allowed
Reserved parameters: "checked", "name", "type"

Examples

See RadioGroup for a Radio component example.


PropertySelection Index RadioGroup