Tuesday, January 21, 2014

How to be notified once the browser window closed?

I am opening a new window in a gwt widget with the help of window.open(url, "", ""); Once the new window is opened i am doing some editing operation. 
I want to make some code to be executed in the gwt widget once the user closes the newly opened window. Here(in gwt widget) how can i know that the window is closed or not?
I think we have some window events, but i do not know how to use them. 

--
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/groups/opt_out.

No comments:

Post a Comment