Re: How to get the Url string before & after “#” that works both in eClipse Development & in deployed real domain name in GWT?

2014-07-29 Thread Tom
Thank you very much Jen, this is exactly what I need as it change thes current url & not remove the name token & other params of the current url. On Tuesday, July 29, 2014 10:31:37 PM UTC+10, Jens wrote: > > String newUrl = Window.Location.createUrlBuilder().setParameter("locale", > ).buildStri

Re: How to get the Url string before & after “#” that works both in eClipse Development & in deployed real domain name in GWT?

2014-07-29 Thread Jens
String newUrl = Window.Location.createUrlBuilder().setParameter("locale", ).buildString(); Window.Location.assign(newUrl); *OR* Window.Location.replace(newUrl); -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from th

How to get the Url string before & after “#” that works both in eClipse Development & in deployed real domain name in GWT?

2014-07-29 Thread Tom
be http://127.0.0.1:/MyProject.html?gwt.codesvr=127.0.0.1:9997&locale=de#!getOrder SO i tried Window.Location.getHost()+"&locale=de" then the url become http://127.0.0.1:/myproject/&locale=de which does not work in eclipse So How to get the Url string before & after "