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
Thomas Broyer
unread,
Nov 7, 2010, 3:57:05 PM11/7/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> Should I use my own sub-class of AbstractPlaceHistoryMapper<F> instead
> of combination of PlaceTokenizer<P> and PlaceHistoryMapper?
No, you have to create a PlaceTokenizer for the ProxyPlace, which
you'll initialize with a RequestFactory instance (which means you have
to use PlaceHistoryMapperWithFactory with a method in your factory
creating the PlaceTokenizer with the RequestFactory)
You can actually find the code for ProxyPlace et al. if you go back in
history in the SVN repository.
(or download GWT 2.1 M3 for example, which contained them)
Y2i
unread,
Nov 8, 2010, 1:11:43 AM11/8/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Thomas,
Thanks a lot for your response, it was very helpful!