hello. I use the wicket RadioGroup in my project.the code like this:
final RadioGroup group = new RadioGroup("group", new Model());
Radio monthRadio = new Radio("month", new Model());
monthRadio.add(new AjaxEventBehavior("onchange") {
@Override
protected void onEvent(AjaxRequestTarget target) {
System.err.println("=======monthRadio=========");
}
});
Radio weekRadio = new Radio("week", new Model());
weekRadio.add(new AjaxEventBehavior("onchange") {
@Override
protected void onEvent(AjaxRequestTarget target) {
System.err.println("=======weekRadio=========");
}
});
Radio dayRadio = new Radio("day", new Model());
dayRadio.add(new AjaxEventBehavior("onchange") {
@Override
protected void onEvent(AjaxRequestTarget target) {
System.err.println("=======dayRadio=========");
}
});
group.add(monthRadio, weekRadio, dayRadio);
form.add(group);
in IE Browser,when i click a radio,there was no radio checked.
I want to know how to resolve it.
and if i need to set a radio default check,how can i do?
thanks
-----
david
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-set-radio-tp4657770.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]