I initially click on the "Say good-bye" link, then click on "OK" and I
see the "Good-bye" message.
Then I click on the back button to see the hello activity again.
This time instead of clicking on the link I click on the browser
forward button, it will:
- ask the message returned by the mayStop method
- before I click on ok or cancel the URL is already changed
- if I click cancel the URL will stay "http://127.0.0.1:8888/ hellomvp.html?gwt.codesvr=127.0.0.1:9997#GoodbyePlace:World!" but the
hello activity is still being displayed
Looks like a bug in GWT, isn't it?
Regards,
Constantino
Thomas Broyer
unread,
Mar 16, 2012, 5:30:16 AM3/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
It's not.
Using the forward button of your browser changes the URL to #GoodbyePlace:World!, which the PlaceHistoryHandler detects. Itthen calls your PlaceHistoryMapper to transform that to a Place and call the goTo. Even if you cancel the goTo, the URL has already been changed, as it was the initial trigger.