thank you for the clarification, I get it

I don't suppose you have advice for using a mutable CellTable in the
editor framework?


On Sat, Oct 2, 2010 at 8:34 PM, BobV <[email protected]> wrote:
>> But if the generic parameter was a collection, wouldn't the fact that
>> it's a leaf editor prevent the framework from entering sub-editors?
>
> Hence the explicit chain.attach() call.  If you wanted to edit an
> optional list, you could replace the nameLabel with the ListEditor
> adaptor class.  Assuming that a PersonMight have a list of mentors:
>
> // That's editor.client.adapters.ListEditor
> MentorSelector implements LeafValueEditor<List<Person>>,
> CompositeEditor<List<Person>, List<Person>, ListEditor<Person,
> NameLabel>>
>
> --
> Bob Vawter
> Google Web Toolkit Team
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to