On 17 nov, 21:06, Nicholas <[email protected]> wrote: > I am working on a small GWT app (I have used GWT in the past but it > was a while ago), trying to learn the new MVP and RequestFactory. I > am not sure if I am just approaching this wrong, or have some error I > can't spot. When I add a call to instantiate my app's RequestFactory, > it no longer runs. It gives me "Deferred Binding Failed" for my > request factory. > > I went back and double-checked the domain / entity objects and I think > I have the required pattern in place (implicit no-arg constructor, > getId(), findEntity(id) and getVersion()). > > Some of the relevant code: > > Domain > objects:http://code.google.com/p/eatright/source/browse/#svn/trunk/EatRightAp... > > EntityRequest and Proxy > objects:http://code.google.com/p/eatright/source/browse/#svn/trunk/EatRightAp... > > This class instantiates the RequestFactory (line 35) and passes it to > the Activity (line > 41)http://code.google.com/p/eatright/source/browse/trunk/EatRightApp/src... > > This class is where I have a method utilizing the request factory. (~ > line > 49)http://code.google.com/p/eatright/source/browse/trunk/EatRightApp/src... > > http://code.google.com/p/eatright/source/browse/trunk/EatRightApp/src... > > Any ideas?
Your "service methods" in your domain objects aren't static, but aren't declared as InstanceRequest in your RequestContext. (don't you have more specific errors than "deferred binding failed"?) -- 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.
