Sunday, November 7, 2010

ProxyPlace: converting a token to EntityProxy

I'd like to implement something similar to non-existent ProxyPlace:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html?com/google/gwt/app/place/ProxyPlace.html

Is there a standard way to convert a token to a sub-class of
EntityProxy in PlaceTokenizer<P>.getPlace(String token)?
Should I use my own sub-class of AbstractPlaceHistoryMapper<F> instead
of combination of PlaceTokenizer<P> and PlaceHistoryMapper?
If AbstractPlaceHistoryMapper<F> is the best alternative, what would
be the best candidate for a token? Should it be a string
representation of Entity's ID or something else?

Your thoughts will be greatly appreciated!
Yuri

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate