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 Cheers,
Alberto
Note:
there are issues with the returned message so if you go for a closing handler read this also:
On Tue, Jun 17, 2014 at 7:10 AM, Samin Pour <saminjv@gmail.com> 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:to inform the user that should wait until the response is ready.http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/Window.html#addWindowClosingHandler%28com.google.gwt.user.client.Window.ClosingHandler%29Hi,may be not a solution in your context but a choice can be also using
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment