No need for jsni.
Try:
Window.open("http://www.itv-f1.com/", "_blank", "");
HTH
Paul
Paul Grenyer wrote:
> Hi
>
> On Thu, Jul 22, 2010 at 11:57 AM, cokol <[email protected]> wrote:
>
>> hi, try it as follows:
>>
>> private static native void getURL(String url)
>> /*-{
>> $wnd.open('' + url,'target=_blank')
>> }-*/;
>>
>>
>
> Thanks! Unfortunately that didn't work either. Just to see what
> happens, I tried:
>
> private static native void getURL(String url)
> /*-{
> $wnd.open('http://www.itv-f1.com/','target=_blank');
> }-*/;
>
> and I get the same error, which suggests to me maybe it's not the string type.
>
>
--
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.