Hi, Try Window.addWindowCloseListener()
-- Abhijeet. On Sat, Oct 18, 2008 at 4:21 PM, aircow33 <[EMAIL PROTECTED]> wrote: > > hi all, > I have a gwt-ext panel on the webpage, I wanted to have the panel make > an rpc call when the user is about to exit the page. How would I > achieve this? I tried two different things but both approaches did > not work. > > 1) I extended gwt-ext panel class and overrode the gwt Widget > onUnload() method. This method was never called when I exited the > webapge. > > 2) I extend gwt-ext PanelListenerAdapter and overrode the OnClose > method. This method was never called when i exited the webpage or > when I closed the gwt browser. > > > Is what I am trying to do possible in GWT-ext? does anyone have any > sample code that can make this work? > > thanks, > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
