you dont need to target a blank window, since anyway its a new one by
default, so just skip the second parameter to $wnd.open() or if you
still want to then do like

$wnd.open(url,'_blank');


br,

On 22 Jul., 13:30, Paul Grenyer <[email protected]> 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.
>
> --
> Thanks
> Paul
>
> Paul Grenyer
> e: [email protected]
> b: paulgrenyer.blogspot.com
> t: pjgrenyer

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