public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof RadioButtonRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "RadioButtonRepresentation"));
}
super.populate(rep);
RadioButtonRepresentation rrep = (RadioButtonRepresentation) rep;
this.id = rrep.getId();
this.name = rrep.getName();
this.selected = rrep.getSelected();
this.value = rrep.getValue();
populate(this.button);
}