Event to Know when a User is Leaving GWT Application

29 views
Skip to first unread message

POODevelopper

unread,
Sep 17, 2011, 4:29:46 PM9/17/11
to Google Web Toolkit
Hello,

I'm using GWT 2.4 and want to know, if there is any kind of event that
is triggered when the user leave a GWT Application.
I want to know is there is a 'stop' Method for the whole application
not just for a given Activity.


Thomas Broyer

unread,
Sep 17, 2011, 5:21:32 PM9/17/11
to google-we...@googlegroups.com
Window.ClosingEvent? As a reminder, note that all your activities' mayStop will be called at that time, and the returned message will be used as the event's message. There also of course Window.CloseEvent.

POODevelopper

unread,
Sep 18, 2011, 5:19:59 AM9/18/11
to Google Web Toolkit
Is it a good idea to put there the code that back up data to the
LocalStorage ?
Reply all
Reply to author
Forward
0 new messages