Thursday, September 25, 2014

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

I wrote some articles on the subject :

http://ronanquillevere.github.io/2013/03/03/activities-places-intro.html

I also tried to implement Thomas Broyer's idea to solve the nesting activities problem: http://blog.ltgt.net/gwt-21-activities-nesting-yagni/ so I created a Github project, have a look and do not hesitate to comment : https://github.com/ronanquillevere/GWT-Multi-Activities

Hope it can help



On Friday, September 19, 2014 7:35:07 PM UTC+2, eho...@usdataworks.com wrote:
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