Monday, September 22, 2014

Re: Is there a tutorial that explains Places and Hyperlinks?

Is there a good document that explain all of this?  How do new GWT developers learn these things?

Actually everything you have asked is covered in http://www.gwtproject.org/doc/latest/DevGuideMvpActivitiesAndPlaces.html

- The URL representation of a Place is described in "Places" section (Prefix + ":" + token)
- The @Prefix is mentioned in "PlaceHistoryMapper" section and obviously you want to use it if you don't like the default prefix chosen by GWT (the Place class name)
- How to get a token for a Hyperlink is covered in section "How to navigate" (using the PlaceHistoryMapper.getToken() method)

So maybe you just need to read documentation a bit more carefully ;-)

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment