On Tuesday, January 25, 2011 11:59:28 PM UTC+1, pohl wrote: > > Great post, Thomas. > > Does anybody know if there are examples out there of using > RequestFactory to implement a command-pattern-style ActionService? > > Impossible, given that RF doesn't support polymorphism. Or rather, you'd have to declare a "process" method for each kind of "command proxy" (otherwise, the RF generator won't *see* your sub-interfaces and won't generate code for them, so you won't be able to even RequestContext#create() them). On the server-side though, it could be possible to have a "catch all" method for all these client-side process() overloads, but I wonder how it would help. The reverse would be far more helpful IMO.
-- 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.
