Monday, December 5, 2011

Re: User visible urls

History is made for that.

If you want to use HTML5's pushState/popstate, that should be possible using deferred-binding (to replace the underlying implementation using onhashchange with one using pushState).

If you're using Places (which I strongly recommend), the default Historian uses History, but you can easily make one that uses HTML5's pushState/onpopstate (I did just that, works very well; I didn't implement fallback to on hashchange though). Note that it's easier to make an HTML5 Historian than to make History use HTML5.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2WDDm4FrOj8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment