Friday, February 3, 2012

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

Thomas thanks for putting so much work into the GWT codebase! :) Amazing!

Can I ask if the having the ListEditor as a sub editor if driver should call the context.edit  or context.create (for TodoDataProxy in list) for list creation or editing?

I'm puzzled that on save the flush, the ListEditor.flush() { list.flush() } is null and throws the exception. Then I find that ListEditor.setValue(T value) needs to take place. 

I'm wondering if i need to tell the driver more here about the list, that is edit or create? On list null I'm wondering if I should create array list to get things going. But I'm thinking the editor should take care of this, but maybe not?
http://code.google.com/p/gwt-examples/source/browse/trunk_2012/DemoGwtEditor/src/com/gonevertical/client/views/peopleedit/editor/EditPersonWorkFlow.java#104

The index is >=0 on list instantiation.
http://code.google.com/p/gwt-examples/source/browse/trunk_2012/DemoGwtEditor/src/com/gonevertical/client/views/peopleedit/editor/todos/TodoListEditor.java#48

Thanks for the help. 

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