Thanks Robert, but the setRedirect(true) did not help me
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/warn-on-exit-from-browser-tp3516569p3543593.html
Sent from the Users forum mailing list archive at Nabble.com.
With just a quick look:
setRedirect(true)
may help and not just setResponsePage()
Regards
Robert
On 05/19/2011 08:53 AM, rebecca wrote:
Thank you all for replying
It does sound like I'm trying to do something impossible, but I would like
to post my code here in case i did not explain the prob
Thank you all for replying
It does sound like I'm trying to do something impossible, but I would like
to post my code here in case i did not explain the problem correctly:
I add onbeforeunload event to the body of my page, which calls a JS
function. The JS does submit to my form. In my form onSub
ailto:adelb...@ciseonweb.it]
> Sent: donderdag 12 mei 2011 12:04
> To: users@wicket.apache.org
> 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,
]
Sent: donderdag 12 mei 2011 12:04
To: users@wicket.apache.org
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
> confi
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 popu
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
I think JavaScript is the only way to do what you want. You can find
something useful on stackoverflow:
http://stackoverflow.com/questions/1631959/browser-window-close-event#1632004
Hello all,
I would like to know if there is a way to open a popup window just before
the user tries to exit the