Ok, I've been trying to do a very simple form to edit a (user sized)
list of strings, using ListEditor.
ListEditor is declared like this:
ListEditor<String, StringEditor> notifyEmails = ListEditor.of(new
StringEditorSource);
StringEditor is actually just a TextBox.
public class StringEditor extends TextBox implements
LeafValueEditor<String> { // Overrides of setValue/getValue for
debugging purposes omitted }
Now, the problem is, when notifyEmails.flush() is called by the editor
framework, the individual StringEditor widgets getValue() is never
called. The size of the list, is 'flushed' correctly, but the values
are not.
This is when I'm using RequestFactoryEditorDriver. If I switch to
using SimpleBeanEditorDriver, it works as expected. So this looks like
a bug in RequestFactoryEditorDriver, but maybe I'm missing something?
Thanks,
Aidan.
--
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.