You work with OptionalFieldEditor. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/editor/client/adapters/OptionalFieldEditor.html
This adapter can be used when a type being edited has an optional field that may be nullified or reassigned as part of the editing process On Mon, Oct 24, 2011 at 12:33 PM, Tiago <[email protected]> wrote: > Thank you, Patrick and Thomas. > > Just for curiosity then - as for my case I can just set an empty list > before editing, no problem - what's the way to redefine the instance > of List property when using the Editor framework? Is there a way? At > least for non-list properties it normally works (I've used > SimpleEditor.setValue to do that, for example) > > On Oct 24, 6:24 pm, Thomas Broyer <[email protected]> wrote: >> setValue is part of the ValueAwareEditor interface. The "point" is that the >> Editor framework will call it when editing/displaying an object. > > -- > 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. > > -- 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.
