History.getToken() isn't deprecated?!

I use the History.addValueChangeHandler.

                History.addValueChangeHandler(new ValueChangeHandler<String>() {

                        @Override
                        public void onValueChange(ValueChangeEvent<String> 
event) {
                                location = event.getValue();
                        }
                });

But it only works with the information after the "#", not with the
parameters in the QueryString part of the URL.

On 18 jun, 14:00, fmod <[email protected]> wrote:
> Hi, from the command line:
> starthttp://somesite.com/MyPage.html
>
> If you want to pass some parameters, you can use the address.
> starthttp://somesite.com/MyPage.html?param1=blah&param2=boo
>
> Somewhere in the onLoadModule() you will need to check
> History.getToken()
> and parse it.
>
> Regards
> Fran
>
> On Jun 18, 1:57 am, leila <[email protected]> wrote:
>
>
>
> > Hello,
>
> > How we can run the application in command line (windows), and how we
> > can pass parameters to onLoadModule()
> > I want to call this from another program and pass 2 points (string lat/
> > log) to it as arguments.
> > Please give me your suggestions I am new to this.
> > Thanks a lot
>
> > Leila

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