HtmlRadioButtonList radioButtonList = (HtmlRadioButtonList) layout.createComponent(object, type);  radioButtonList.setController(new PostBackController(getDestination())); for (HtmlRadioButton button : radioButtonList.getRadioButtons()) { button.setOnClick("this.form.submit();"); }  return radioButtonList;
HtmlInlineContainer container = new HtmlInlineContainer();  String prefix = ((MetaSlot) getInputContext().getMetaObject()).getName();  HtmlHiddenField hidden = new HtmlHiddenField(prefix + HIDDEN_NAME, ""); hidden.setController(new PostBackController(hidden, getDestination()));   HtmlRadioButtonList radioButtonList = (HtmlRadioButtonList) layout.createComponent(object, type);  for (HtmlRadioButton button : radioButtonList.getRadioButtons()) { button.setOnClick("this.form." + prefix + HIDDEN_NAME + ".value='true';this.form.submit();"); button.setOnDblClick("this.form." + prefix + HIDDEN_NAME + ".value='true';this.form.submit();");  }  if(getClasses()!=null) { applyStyle(radioButtonList); }  container.addChild(hidden); container.addChild(radioButtonList);  return container;
            public HtmlComponent createComponent(Object object, Class type) {                HtmlRadioButtonList radioButtonList = (HtmlRadioButtonList) layout.createComponent(object, type);                                radioButtonList.setController(new PostBackController(getDestination()));                for (HtmlRadioButton button : radioButtonList.getRadioButtons()) {                    button.setOnClick("this.form.submit();");                }                                return radioButtonList;            }