Re: Problems with AjaxCheckBox in Wicket 1.5.1

2011-10-21 Thread jamesatk
I will.

I rolled back to 1.4.19 and they work again.

Thanks!

James

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problems-with-AjaxCheckBox-in-Wicket-1-5-1-tp3925435p3926640.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



Problems with AjaxCheckBox in Wicket 1.5.1

2011-10-21 Thread jamesatk
Greetings,

Our project updated to Wicket 1.5.1 from Wicket 1.4.5 and AjaxCheckBox is no
longer firing the onUpdate() method.

Below is a code snippet of how it is being used:

ListView listView = new ListView("events", eventGroups) {

protected void populateItem(final ListItem item) {
final EventGroups event = (EventGroups)
item.getModelObject();
   
Model checked = new Model(false);

AjaxCheckBox eventCheckbox = new
AjaxCheckBox("eventCheckbox", checked) {

@Override
protected void onUpdate(AjaxRequestTarget target) {
logger.debug("onUpdate");
// do stuff on updatd
}
};

item.add(eventCheckbox);
}
};

This code worked in Wicket 1.4.5, but not in Wicket 1.5.1.  I have searched,
but have been unable to find a solution and the Wicket 1.5.1 migration guide
gave no indication that this has changed.

Any help would be greatly appreciated.

Thanks!

James

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problems-with-AjaxCheckBox-in-Wicket-1-5-1-tp3925435p3925435.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