Re: Asking for user confirmation - Wicket 6

2012-11-16 Thread Dieter Tremel
Am 15.11.2012 18:47, schrieb Sven Meier: ajaxCallListener.onPrecondition(return confirm('are you sure'?);); I made a test and found the small Typo, should be: ajaxCallListener.onPrecondition(return confirm('are you sure?');); Dieter

Re: Asking for user confirmation - Wicket 6

2012-11-16 Thread Nick Pratt
Thanks - I noticed that also - the wiki entry has the correct code. Nick On Fri, Nov 16, 2012 at 4:26 AM, Dieter Tremel tre...@tremel-computer.dewrote: Am 15.11.2012 18:47, schrieb Sven Meier: ajaxCallListener.onPrecondition(return confirm('are you sure'?);); I made a test and found the

Re: Asking for user confirmation - Wicket 6

2012-11-15 Thread Sven Meier
Overwrite #updateAjaxAttributes in your behavior or AjaxLink: @Override protected void updateAjaxAttributes(AjaxRequestAttributes attributes) { super.updateAjaxAttributes(attributes); AjaxCallListener ajaxCallListener = new