Hi Stephan,
Thanks for your reply.

I discovered that it works, but not in Developer Host mode (OOPHM).
Maybe the developer plugin strips the params from the url?

my URL is something like this:
http://192.168.0.205:8888/MyApp.html?gwt.codesvr=192.168.0.205:9997&kc=test

I also tried:
http://192.168.0.205:8888/MyApp.html?kc=test&gwt.codesvr=192.168.0.205:9997

My code is simple:

        public void onModuleLoad() {
                String urlKey = Window.Location.getParameter("kc");
                if (urlKey != null) {
                    // do something special here.
                } else {
                   // default code.
                }
}


Thanks,
Mike.

On Jun 30, 10:00 am, Stefan Bachert <[email protected]> wrote:
> Hi,
>
> I use it and it works.
> Please supply your URL and your code, probably something went wrong.
>
> Stefan Bacherthttp://gwtworld.de
>
> On Jun 29, 9:35 pm, mdwarne <[email protected]> wrote:> Hi,
>
> > I need to pass a parameter to my application.  However if I append a
> > parameter to the url query string, I can not retrieve it by name using
> > Window.Location. (Always returns null)
>
> > When I retrieve the entire Query String,  It contains only the
> > gwt.codesvr parameter, but not my additional parameter.
>
> > Any Ideas?
> > Thanks,
> > Mike.

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