wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david.li" <lxw_fi...@hotmail.com>
Subject radio button ajax behaviour
Date Sat, 02 Mar 2013 04:06:59 GMT
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message