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