Hi Samir, the page refresh should call the closinghandler cause a refresh is a page unload followed by a load and the closing handler essentially is a listener to 'onbeforeunload' event.
Cheers, Alberto Note: there are issues with the returned message so if you go for a closing handler read this also: http://stackoverflow.com/questions/5398772/firefox-4-onbeforeunload-custom-message On Tue, Jun 17, 2014 at 7:10 AM, Samin Pour <[email protected]> wrote: > Thanks Alberto :) > > Isn't this handler triggered for closing the Window? I'm just refreshing a > page which doesn't fire the associated event. Or am I missing something? > > Thanks again > Samin > > > On Friday, June 13, 2014 10:31:25 PM UTC+10, Alberto Mancini wrote: >> >> Hi, >> may be not a solution in your context but a choice can be also using >> http://www.gwtproject.org/javadoc/latest/com/google/gwt/ >> user/client/Window.html#addWindowClosingHandler%28com. >> google.gwt.user.client.Window.ClosingHandler%29 >> to inform the user that should wait until the response is ready. >> I think it is at least less dangerous than ignoring eventual errors. >> >> Alberto. >> >> >> >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
