What is your problem? Usually you would use FormChoiceComponentUpdatingBehavior on the RadioGroup.
Sven "david.li" <lxw_fi...@hotmail.com> schrieb: >Hi,I am unable to apply ajax behavior to radio button. >there are two radio button in radiogroup.but when click month radio button,i >can't check this radio. > >java code: >RadioGroup group=new RadioGroup("group"); > >group.add(new Radio("week")); > >Radio monthRadio=new Radio("month"); >monthRadio.add(new AjaxEventBehavior("onclick") { > @Override > protected void onEvent(AjaxRequestTarget target) { > info("111111111111111111111"); > target.add(feedback); > } >}); >group.add(monthRadio); > >Regards, >david li > > > >----- >david >-- >View this message in context: >http://apache-wicket.1842946.n4.nabble.com/radio-button-ajax-behaviour-tp4656909.html >Sent from the Users forum mailing list archive at Nabble.com. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >For additional commands, e-mail: users-h...@wicket.apache.org >