Hi Mike,

you code and url looks absolutely correct.
I do the similar within my project and it works.
I am using FF, eclipse, linux. I do not face any problems.

I do not have any idea what went wrong at your site


Stefan Bachert
http://gwtworld.de




On Jul 2, 3:10 am, mdwarne <mike.wa...@gmail.com> wrote:
> 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&k...
>
> I also 
> tried:http://192.168.0.205:8888/MyApp.html?kc=test&gwt.codesvr=192.168.0.20...
>
> 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 <stefanbach...@yahoo.de> 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 <mike.wa...@gmail.com> 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to