Hi, Thanks you all for your help. My problem was that I was mapping my Client side incorrectly - I now understand how to use the ValueProxy. In case someone else is having similar problems, I suggest reading Thomas' post: http://tbroyer.posterous.com/gwt-211-requestfactory
It helped me a lot. Cheers On Mon, Jan 17, 2011 at 8:17 PM, Thomas Broyer <[email protected]> wrote: > > > On Monday, January 17, 2011 10:33:00 PM UTC+1, David Chandler (Google) > wrote: >> >> Hi Aldo, >> >> RequestFactory doesn't support composite keys, only String or Long >> types. > > > You need some vacations David! ;-) > > It was the case on 2.1.0 but no longer in 2.1.1, where you can have > composite keys. They have to have a corresponding ValueProxy though (and > given how RequestFactoryServlet internals are implemented > –ResolverServiceLayer to be precise–, it probably has to be declared as a > property in the EntityProxy; the reason is that resolveClientType only knows > about "already seen" proxies, i.e. those that have been used in "already > seen" service stubs, recursively) > > I'm successfully using a composite key so (for once) this answer is not > only "speculation" after reading the GWT source code ;-) > > See > > http://code.google.com/p/google-web-toolkit/source/browse/tags/2.1.1/user/src/com/google/gwt/requestfactory/server/Resolver.java#297 > > http://code.google.com/p/google-web-toolkit/source/browse/tags/2.1.1/user/src/com/google/gwt/requestfactory/server/RequestState.java#92 > > http://code.google.com/p/google-web-toolkit/source/browse/tags/2.1.1/user/src/com/google/gwt/requestfactory/server/RequestState.java#92 > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- 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.
