Friday, February 3, 2012

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

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. 


ListEditor.setValue(list<TodoDataProxy> value) {
   //... I think sets up the backing here in list editor
I've found that this is always null in all the configurations I've tried.


String s = EditorHierarchyPrinter.toString(driver);
System.out.println("EditorHierarchyPrinter = " + s);

EditorHierarchyPrinter = 
com.gonevertical.client.app.requestfactory.dto.PeopleDataProxy
com.gonevertical.client.views.peopleedit.editor.PersonEditor
ValueAwareEditor 
nameFirst
java.lang.String
com.google.gwt.editor.ui.client.adapters.ValueBoxEditor
ValueAwareEditor 
nameFirst
java.lang.String
com.google.gwt.editor.ui.client.ValueBoxEditorDecorator
ValueAwareEditor 
nameLast
java.lang.String
com.google.gwt.editor.ui.client.adapters.ValueBoxEditor
ValueAwareEditor 
nameLast
java.lang.String
com.google.gwt.editor.ui.client.ValueBoxEditorDecorator
ValueAwareEditor 
active
java.lang.Boolean
com.google.gwt.editor.client.adapters.TakesValueEditor
ValueAwareEditor 
gender
java.lang.Integer
com.google.gwt.editor.client.adapters.TakesValueEditor
ValueAwareEditor 
note
java.lang.String
com.gonevertical.client.views.widgets.richtextarea.RichTextAreaEditor
ValueAwareEditor 
todos
java.util.List
com.google.gwt.editor.client.adapters.ListEditor
ValueAwareEditor

--
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/-/40uckOlUu20J.
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