Re: Aw: Re: Re: Re: Re: wicket 6 and a confirm dialog

2013-05-29 Thread Martin Grigorov
regards >> >> marcel >> >> Gesendet: Mittwoch, 29. Mai 2013 um 10:12 Uhr >>> Von: "Martin Grigorov" >>> An: "users@wicket.apache.org" >>> Betreff: Re: Re: Re: Re: wicket 6 and a confirm dialog >>> >>> Hi, >>> >

Re: Aw: Re: Re: Re: Re: wicket 6 and a confirm dialog

2013-05-29 Thread Sven Meier
he.org" Betreff: Re: Re: Re: Re: wicket 6 and a confirm dialog Hi, Replace "if (!conf) return false; "; with "if (!conf) { Wicket.Event.stop(event, true); return false;} "; in JavascriptEventConfirmation.java On Wed, May 29, 2013 at 11:07 AM, Marcel Hoerr wrote

Re: Re: Re: Re: wicket 6 and a confirm dialog

2013-05-29 Thread Martin Grigorov
tly, this should work in wicket 6 too ("cancel" fires > no request). > > Best regards > > marcel > > > Gesendet: Dienstag, 28. Mai 2013 um 12:58 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Re: Re:

Re: Re: Re: wicket 6 and a confirm dialog

2013-05-28 Thread Martin Grigorov
; marcel > > > Gesendet: Montag, 27. Mai 2013 um 14:46 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Re: wicket 6 and a confirm dialog > > > > Hi Marcel, > > > > But the solution with onclick

Aw: Re: Re: wicket 6 and a confirm dialog

2013-05-28 Thread Marcel Hoerr
Ajax Components anymore. I will give it a try in a Quickstart, if you say it should work. Best regards marcel > Gesendet: Montag, 27. Mai 2013 um 14:46 Uhr > Von: "Martin Grigorov" > An: "users@wicket.apache.org" > Betreff: Re: Re: wicket 6 and a confirm dialog &

Re: Re: wicket 6 and a confirm dialog

2013-05-27 Thread Martin Grigorov
Hi Marcel, But the solution with onclick attribute is still valid for non-Ajax link. You can use it for Ajax link too - returning false will stop the execution of the bound event listener used by Wicket to do its work. On Mon, May 27, 2013 at 2:02 PM, wrote: > Hi Martin, > > the suggested solu

Fwd: Re: wicket 6 and a confirm dialog

2013-05-27 Thread Marcel . Hoerr
Hi Martin, the suggested solution needs AjaxRequestAttributes in order to display the confirm dialog. In an non Ajax setting there would be no ajaxrequest though. Best regards marcel > Am 27.05.13 um 11:37 schrieb Martin Grigorov > > > Hi Marcel, > > > > > > > > What exactly is the issue with

Re: wicket 6 and a confirm dialog

2013-05-27 Thread Martin Grigorov
Hi Marcel, What exactly is the issue with non-Ajax links ? On Mon, May 27, 2013 at 12:34 PM, Marcel Hoerr wrote: > Hi wicket community, > > i have a question about how to implement a confirm dialog via javascript > on a button or link. Before wicket 6 we used a simple behavior (as > mentioned