dropDownChoiceMembresClub.setVisible(false);
}
dropDownChoiceMembresClub.setRequired(false);
final RadioGroup radioGroup = new RadioGroup("mode")
{
private static final long serialVersionUID = 1L;
@Override
protected boolean wantOnSelectionChangedNotifications()
{
return true;
}
@Override
protected void onSelectionChanged(Object arg0)
{
updateFields(email, dropDownChoice, dropDownChoiceMembresClub);
}
};
Radio rdPersonneAssociee = new Radio("rdbPersonneAssociee", new Model(
DelegateRegistrationMode.PERSONNEASSOCIEE));
if (personnesAssociees.size() < 1)
{
rdPersonneAssociee.setEnabled(false);
}
radioGroup.add(labelNomClub);
radioGroup.add(rdPersonneAssociee);
radioGroup.add(email);
radioGroup.add(dropDownChoice);
radioGroup.add(new Radio("manual", new Model(
DelegateRegistrationMode.MANUAL)));
radioGroup.add(new Radio("lookup", new Model(
DelegateRegistrationMode.LOOKUP)));
radioGroup.add(radioCoach);
radioGroup.add(dropDownChoiceMembresClub);
radioGroup.clearInput();
form.add(radioGroup);
form.add(next);
form.add(back);