Just read through the documentation of Hyperlink.

It forwards to the given place in an attribute. If it's not set it
forwards to the default place.
Result: Your handler forwards to the correct page and then history
token of the hyperlink is the next token and brings you to the default
place.

Erik

On 5 Mrz., 20:59, Rikard Hultén <[email protected]> wrote:
> I have set up the simple mvp example with activities, places and so forth.
> My onModuleLoad is more or less copy-pasted from the documentation.
>
> Now to the fun part, when I click an hyperlink that forwards to the
> placeController goTo-method it correctly goes to the that place and
> activity, however it immediately precedes to the "default place" and gives
> an empty # in the URL.
>
> I can press the back-button in the browser and now it stays in the correct
> place. I can also press ctrl and click the hyperlink and it
> will behave correctly.
>
> I have run the thing in the debugger, and sure enough there are two
> placeChanged events fired (when it precedes to the default place that is)...
> Any ideas what goes on here?
>
> Ubuntu 10.10
> GWT 2.2.0
> Eclipse 3.6.2
> Chromium 9.0.597.107 (75357), Firefox 3.6.14

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