That's what i'm asking:) Additional research: old WindowCloseListener mechanism works ok!
On Apr 22, 10:46 am, Vitali Lovich <[email protected]> wrote: > My advice would be to think about why that might be. > > On Wed, Apr 22, 2009 at 2:57 AM, ivovnenko <[email protected]> wrote: > > > Update: it works in hosted mode, not don't in real browsers. > > > On Apr 22, 2:10 am, ivovnenko <[email protected]> wrote: > > > Hello. > > > > I'm trying to open new browser window just before the main window (GWT > > > host page) is closed. > > > Strange thing is that when I write this - > > > > public void onClose(CloseEvent<Window> event) { > > > Window.alert(event.toDebugString()); > > > > } > > > > alert is being shown, but > > > > public void onClose(CloseEvent<Window> event) { > > > Window.open("http://www.google.com","newWindow",""); > > > > } > > > > doesn't open new window. > > > > Would really appreciate any help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
