You can create proxy instances in the client using RequestContext#create(Class<ProxyType> clazz). For your filter object, you just need an interface extending ValueProxy that has a server side representation, and you should be good to go.
Jesse On Thu, Sep 15, 2011 at 3:35 AM, albertoknox <[email protected]>wrote: > I´m using GWT RequestFactory and want to transport client-side > parameters in a service. The parameters should be created on the > client, because they aren´t part of the domain model and won´t be > stored in the database. Unfortunately I found no way to do this, > because only xxxProxy objects can be used as parameters and they can > only be created on the server. > > My concrete example: > > I want to download tasks from a server and want to send a filter > object with the request as parameter, which specifies the task objects > to be loaded. > > Thanks for your help! > > -- > 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. > > -- 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.
