On 7 nov, 18:59, Y2i <[email protected]> wrote:
> I'd like to implement something similar to non-existent 
> ProxyPlace:http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html?c...
>
> Is there a standard way to convert a token to a sub-class of
> EntityProxy in PlaceTokenizer<P>.getPlace(String token)?

RequestFactory#getProxyId
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/requestfactory/shared/RequestFactory.html#getProxyId(java.lang.String)
(if you used getHistoryToken to generate the token, of course)

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

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to