On Wednesday, January 12, 2011 3:42:02 PM UTC+1, Johannes Stein wrote:
>
> No one who can give me a tip? 
> Will GWT be able to get the current historyitem, if i rewrite for e.g. 
> http://myurl/play:12345 to http://myurl/play/quiz123?
>

No.

But you can, in your onModuleLoad, look at the Window.Location to extract 
the path and use it as the default token if there's no other one (e.g. 
http://myurl/play:12345#play:quiz123).

In browsers that support it, I believe you could use your own 
PlaceHistoryHandler.Historian that uses window.pushState instead of 
History.newItem (or you could probably even replace the HistoryImpl with one 
that uses window.pushState). But there would still be the big (even though 
decreasing) number of users with browsers that don't support 
window.pushState.

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