Thank you very much for your answers. I found out that doing this via RPC is the most efficient, at least for my project. Window.open() will show the action somehow in the browser and might give the user a warning too. RequestBuild has the SOP problem, there is work around this, but didn't seem very easy. Since I have RPC, it seemed easy enough to just add another method to invoke the url on the server side.
Thanks again, Tony On Feb 16, 9:25 am, jossey <[email protected]> wrote: > Hi Tony, > I never thought this would be so tough to find. > I started searching and took me almost 2 hours to find it. > You might have already found the solution now. > But anyways... > Still I am not sure if this is what you want. > > see: > Window.assign(url) > Window.open(...) > > But the url - in your case the internal ip - might appear in the > location bar. > If you are using Window.open(...), opening a new window, then you may > hide the location bar. > > Another option is to do it the GWT way. > Use a RequestBuild and open a ajax connection to the new url. > Get the response and update the main RootPanel. > > Hope this helps. > > Thanks, > Jossey. > > On Feb 12, 6:56 pm, "tony.p.." <[email protected]> wrote: > > > Hello everyone, > > > I have a button and when I click on it, I want theactionto run or > > invoke alink. Example: > > > myButton.addClickListener(new ClickListener() { > > public void onClick(Widget sender) { > > runLink("http://192.168.1.123/abc"); > > } > > }); > > > What can I use to run thelink? I do not want any results back, nor > > display anything, all I want is to run it. Also, I can not display the > >link, because it has an internal IP address, which I want to keep > > hidden. > > > Thank you in advance, > > Tony --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
