Re: Migration from 1.5.8 to 6.1

2012-10-22 Thread Marco Di Sabatino Di Diodoro
Hi, I implemented following your suggestions. Currently, the list item is deleted if I press ok or cancel in the dialog. item.add(new AjaxDecoratedCheckbox(toRemove, new ModelBoolean(Boolean.FALSE)) { private static final long serialVersionUID =

Re: Migration from 1.5.8 to 6.1

2012-10-22 Thread vineet semwal
i can't reproduce your problem,on clicking cancel ,the precondition should fail ie. return false which is what the code is doing,what browser are you using? i tested it on chrome/firefox On Mon, Oct 22, 2012 at 3:33 PM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: Hi, I

Re: Migration from 1.5.8 to 6.1

2012-10-22 Thread Marco Di Sabatino Di Diodoro
I tested with chrome and firefox. The method onUpdate is invoked always and the item is removed. On Oct 22, 2012, at 12:34 PM, vineet semwal wrote: i can't reproduce your problem,on clicking cancel ,the precondition should fail ie. return false which is what the code is doing,what browser

Re: Migration from 1.5.8 to 6.1

2012-10-22 Thread vineet semwal
i can't reproduce your problem and i can't guess too, attach a quickstart that demonstrates your problem .. On Mon, Oct 22, 2012 at 4:12 PM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: I tested with chrome and firefox. The method onUpdate is invoked always and the item is

Re: Migration from 1.5.8 to 6.1

2012-10-22 Thread Marco Di Sabatino Di Diodoro
Thanks for your help. The problem was into AjaxDecoratedCheckBox. M On Oct 22, 2012, at 3:57 PM, vineet semwal wrote: i can't reproduce your problem and i can't guess too, attach a quickstart that demonstrates your problem .. On Mon, Oct 22, 2012 at 4:12 PM, Marco Di Sabatino Di Diodoro

Migration from 1.5.8 to 6.1

2012-10-19 Thread Marco Di Sabatino Di Diodoro
Hi all, How can i convert this code into wicket 6.1. item.add(new AjaxDecoratedCheckbox(toRemove, new ModelBoolean(Boolean.FALSE)) { @Override protected void onUpdate(final AjaxRequestTarget target) { entityTO.getDerivedAttributes().remove(attributeTO);

Re: Migration from 1.5.8 to 6.1

2012-10-19 Thread vineet semwal
iajaxcalldecorator is replaced with iajaxcalllistener,ajaxcalllistener(dummy implementation) is what you can extend for your use ,override ajaxcheckbox#updateAjaxAttributes(attributes) like below @Override protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {