Even if I put in things manually, let's say

EditorContainer<OfficeHandle, HashSet<OfficeHandle>, OfficeEditor> offices;

which is a CompositeEditor

public class EditorContainer<T, C extends Collection<T>, E extends
Editor<T>> extends FlowPanel implements CompositeEditor<C, T, E>

I can set new up and place the HashSet<> manually inside the parent of
the office because it will get squashed the next time the editor is
flushed since EditorContainer gets setValue called with null



On Sat, Oct 2, 2010 at 11:00 AM, Patrick Julien <[email protected]> wrote:
> But I am getting null for my child objects, that is the question, must
> I make sure all child entities are created before given them to the
> root editor?  That doesn't make much sense to me
>
>
> On Sat, Oct 2, 2010 at 10:38 AM, Thomas Broyer <[email protected]> wrote:
>>
>> On Oct 2, 4:15 pm, Patrick Julien <[email protected]> wrote:
>>> What does it take exactly?
>>>
>>> If I look at dynatblerf sample, there is an AddressEditor in a
>>> PersonEditor and it just seems to work.
>>>
>>> I have the same thing, I have a SecuritySettingsEditor inside another
>>> Editor and when I get the EntityProxy back, the security settings
>>> field is always null.  What does it take for the editor to generate
>>> the value?
>>
>> The DynatableRF sample's Person never has a 'null' Address; it might
>> be an "empty" Address instance, but never the null value. It might be
>> the reason.
>>
>> --
>> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

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

Reply via email to