You could use an ajax callback to wicket in the onbeforeunload and do
something serverside but showing a modalwindow is probably impossible as
the onbeforeunload will continue after the ajax call is done...

Hielke

-----Original Message-----
From: Andrea Del Bene [mailto:[email protected]] 
Sent: donderdag 12 mei 2011 12:04
To: [email protected]
Subject: Re: warn on exit from browser

So far as i know Wicket can't  help you that much since this is a "pure"

client side problem.
> Thank you andrea, but i already managed to use javascript to show a 
> confirm dialog.
>
> What I would like to know is if it is possible to change the default 
> behavior of the browser and to show a wicket popup instead of the 
> confirm dialog?
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/warn-on-exit-from-browser-t
> p3516569p3516849.html Sent from the Users forum mailing list archive 
> at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to