org.apache.tapestry5.corelib.components.RadioGroup

[JavaDoc]

Component Parameters

NameTypeFlagsDefaultDefault PrefixSinceDescription
clientIdStringNOT Allow Nullprop:componentResources.idliteralThe id used to generate a page-unique client-side identifier for the component. If a component renders multiple times, a suffix will be appended to the to id to ensure uniqueness. The uniqued value may be accessed via the clientId property.
disabledbooleanNOT Allow NullfalsepropIf true, then the field will render out with a disabled attribute (to turn off client-side behavior). Further, a disabled field ignores any value in the request when the form is submitted.
encoderValueEncoderRequired, NOT Allow NullpropAllows a specific implementation of ValueEncoder to be supplied. This is used to create client-side string values for the different radio button values.
labelStringNOT Allow NullliteralThe user presentable label for the field. If not provided, a reasonable label is generated from the component's id, first by looking for a message key named "id-label" (substituting the component's actual id), then by converting the actual id to a presentable string (for example, "userId" to "User Id").
validateFieldValidatorNOT Allow NullvalidateThe object that will perform input validation. The validate binding prefix is generally used to provide this object in a declarative fashion.
valueObjectRequired, NOT Allow NullpropThe property read and updated by the group as a whole.

Component Events

  • validate
Examples are provided with the documentation of the Radio component.

Back to index