Friday, September 19, 2014

Is there a tutorial that explains Places and Hyperlinks?

I'm writing a GWT app and trying to make Hyperlink widgets work.  I've read http://www.gwtproject.org/doc/latest/DevGuideMvpActivitiesAndPlaces.html and some of the API docs, but it doesn't seem coherent.

For instance, that web page says I can use an "@Prefix" annotation on a PlaceTokenizer to change the first part of the URL associated with a Place, but it doesn't show an example or tell me why I would want to do that.

Also, all of the examples I can find of the Hyperlink widget show the target history token as a single word, with no colon.  When I look in Google's AbstractPlaceHistoryMapper.getPlace(), however, it expects a colon.  If the token has no colon then the tokenizer can't be found.

Am I missing some documentation?  Is there a good intro to this subject out there?

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