I have had a look at the GWT source code.
All of the magic happens in the class
"com.google.gwt.requestfactory.server.Resolver",
specifically in a method the method "static boolean
matchesPropertyRef(Set<String> propertyRefs, String newPrefix)".
>From what I can see, in order to change this functionality in my
application to allow for wild cards, I would have to write my own
implementations of the following classes:
* com.google.gwt.requestfactory.server.Resolver
* com.google.gwt.requestfactory.server.RequestState
* com.google.gwt.requestfactory.server.SimpleRequestProcessor
* com.google.gwt.requestfactory.server.RequestFactoryServlet
After I have finished my current deadline and familiarized myself with
the ins/outs of contributing to the GWT source code, I am intending
submit a patch to allow for wild cards. The following are examples of
what should probably be supported:
request.findParent(1L).with("*")
request.findParent(1L).with("child.*")
request.findParent(1L).with("**")
request.findParent(1L).with("child.**")
--
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.