On Tuesday, September 11, 2012 3:54:55 PM UTC-4, Thomas Lefort wrote:
>
> This is my code for the anchor
>
> AnchorElement anchor =
> DOM.createAnchor().cast();
> anchor.setHref("#EISearchResultPlace:" +
> result);
>
fireEvent -> Oh I see, makes perfect sense! Thanks.
click -> I can't get it to work unfortunately, the object has no
'click' method, both using ButtonElement cast and JSNI
element.click(). I feel a bit useless there, if you have a little more
patience to detail your solution? Thanks.
tab -> I agr
On Tuesday, September 11, 2012 6:16:43 PM UTC+2, Thomas Lefort wrote:
>
> Hi,
>
> Thanks to both of you.
>
> Regarding teh anchor, I did try with the following code, but it still
> doesn't work.
>
> Anchor anchor = new Anchor();
> anchor.setHref("#EISearchResultPlace:" + result);
> anchor.setTar
Hi,
Thanks to both of you.
Regarding teh anchor, I did try with the following code, but it still
doesn't work.
Anchor anchor = new Anchor();
anchor.setHref("#EISearchResultPlace:" + result);
anchor.setTarget("_blank");
anchor.setVisible(false);
RootPanel.get().add(anchor);
anchor.fireEvent(new
On Tuesday, September 11, 2012 4:08:46 PM UTC+2, Thomas Lefort wrote:
>
> Hi,
>
> I am trying to programatically open a new tab in dev mode with a new
> instance of my application, eg my application url + the place name. I use
> window.open("#myplacename:", "_blank"). But all I get is a window w
Did you tried use a invisible anchor and click on it?
2012/9/11 Thomas Lefort
> Hi,
>
> I am trying to programatically open a new tab in dev mode with a new
> instance of my application, eg my application url + the place name. I use
> window.open("#myplacename:", "_blank"). But all I get is a wi
Hi,
I am trying to programatically open a new tab in dev mode with a new
instance of my application, eg my application url + the place name. I use
window.open("#myplacename:", "_blank"). But all I get is a window without
any of the specs/options such as navigation, etc... also the url is wrong,