Friday, February 3, 2012

Re: To any Editors Gurus: I could use some ListEditor use help for the GWT demo I've made...



On Friday, February 3, 2012 11:58:16 AM UTC-5, Brandon Donnelson wrote:
Thanks for the comments and looking at my code! :)

I may be getting close to the solution. I have forgotten .with("todos") in the request factory request so they aren't being loaded in the initial request. Not sure if this triggers the correct backing. But all the chaining and list editor stuff seems to have been instantiated correctly from what I can tell. Although the listwrapper never gets used b/c the value is null. 


You don't need .with("todos"), you need to RequestFactoryEditorDriver#getPaths.  Your driver knows all the paths you need to put in your request.



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/OKsV-lRV27cJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment