this did not do the trick in my onchange:

target.appendJavascript("Wicket.Window.unloadConfirmation = false;"); should it be prepended or when should it be append before the onchange event in my dropdown? As a kind of setup, I guess?

Ryan Gravener wrote:
Yes,

append this javascript in your ajax call:
Wicket.Window.unloadConfirmation = false;

On Thu, Apr 3, 2008 at 10:33 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
Hi

 I have a modalwindow which contains a dropdown. I've attached an
ajaxbehavior to the dropdown but when it fires I get a confirmation box "are
you sure you want to navigate away from this page"...

 Is it supposed to work this way?

 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to