Çäðàâñòâóéòå, Al.
Âû ïèñàëè Monday, June 18, 2007, 3:08:44 PM:
> Al Maw wrote:
>> Konstantinos:
>>
>> Firstly, please quit replying with your own text indented with a >, the
>> same as the text you're quoting. It makes it really difficult to see
>> what the heck is going on. ;-)
>>
>> Secondly, I said "onbeforeunload", not "onunload".
> I've just added this functionality to trunk (1.3.0-SNAPSHOT).
> You can now go:
> add(new AbstractDefaultAjaxBehavior() {
> public void renderHead(IHeaderResponse response) {
> super.renderHead(response);
> response.renderOnBeforeUnloadJavascript(
> getCallbackScript(false).toString()
> );
> }
> protected void respond(AjaxRequestTarget target) {
> // Do stuff here.
> }
> });
How to find out what was the reason for firing onbeforeunload, window
close, navigate to other place, back button, forward button, etc?
I.e. is there a way to find out the exact window close here?
> Regards,
> Al
shumbola mailto:[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user