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
-~----------~----~----~----~------~----~------~--~---

Reply via email to