Class RadioGroup<T>

Type Parameters:
T - The model object type
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,FormComponent<T>>, IMetadataContext<Serializable,Component>, IFormModelUpdateListener, IFormVisitorParticipant, ILabelProvider<String>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class RadioGroup<T> extends FormComponent<T>
Component used to connect instances of Radio components into a group. Instances of Radio have to be in the component hierarchy somewhere below the group component. The model object of the group is set to the model object of the selected radio component or null if none selected. ie
    <span wicket:id="radiochoicegroup">
      <input type="radio" wicket:id="singleradiochoice1"/>choice 1
      <input type="radio" wicket:id="singleradiochoice2"/>choice 2
Igor Vaynberg, Sven Meier (svenmeier)
See Also: