Wednesday, September 28, 2011

Re: Is it possible to flush the sub-editor of a CompositeEditor ?

Thanks for the idea.  I took a quick look at that interface, but I didn't want my sub-editors to have to report every single change as they happened, I wanted the updates all at once as a single object (since my CellTable takes objects).

The route I'm currently looking down involves passing the top-level RequestFactoryEditorDriver into the editor, and then allowing my list editor to flush the entire editor tree, which as of 2.4 will flush the sub-editors.  It breaks the pattern that the editor shouldn't need to know about its driver, but so far it seems to be working.

Thanks,
Eric

--
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/-/Xj8_qbHhZdYJ.
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