When a user leaves the GWT application, I would like to open a confirmation dialog box and offer them a choice to stay, i.e. confirm ("are you sure you want to leave this page", "yes", "no").
I know how to create a dialbox. :)
The question is, how can I catch an event when a user leaves the page and how to cancel it?
Daniel
gwt
user198313
source share