Doing something like this is perfectly acceptable in javascript:
var newWindow = window.open(...)
However, this does not work in senario GWT (I use 1.5, I do not know about later versions)
Window window = Window.open("", "", "");
It gives me a compile-time error when open is a method with a return type like void.
Why should this be invalid? What if I want to close the popup from the main window? how do i get his pen?
I will have to resort to built-in javascript without a doubt, but I was just curious why this is so ...
source
share