Common PlaceTokenizer for all places

15 views
Skip to first unread message

VaraKalyan Maddi

unread,
Sep 10, 2014, 2:15:09 AM9/10/14
to gwt-pr...@googlegroups.com

Every Place should have a Tokenizer class which implements PlaceTokenizer <Place> which has two methods
  •   getPlace(token)
  •   getToken(place)
  1. Is there any way to create a generic PlaceTokenizer class for all classes with @Prefix annotation. 
  2. If yes, how to add it to PlaceHistoryMapper ?

Thanks 
Kalyan
 

David Chandler

unread,
Sep 10, 2014, 10:26:57 AM9/10/14
to gwt-pr...@googlegroups.com
Hi Kalyan,

Your question appears to be about GWT Activities & Places rather than the gwt-presenter framework. However, I have run across a framework which generates PlaceTokenizers as you suggest:


I haven't tried it out myself, but it looks like a good idea.

Good luck!
/dmc

--

---
You received this message because you are subscribed to the Google Groups "GWT Presenter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-presente...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

VaraKalyan Maddi

unread,
Sep 11, 2014, 5:41:06 AM9/11/14
to gwt-pr...@googlegroups.com, dcha...@turbomanage.com
Thanks David. 
 It makes me to add slotted jar to my client. I  cannot do that.
Reply all
Reply to author
Forward
0 new messages