2011/6/13 Greg Brown <[email protected]>:
>> so the qeustion: in Form.java in the method
>> setRequired, the following part seem "strange" to me:
>>            Container parent = component.getParent();
>>
>> // TODO: here (with my changes in the demo) parent is null ...
>>            if (parent instanceof Form) {
>>                Form form = (Form)parent;
>>                form.formAttributeListeners.requiredChanged(form,
>> component);
>>            }
>
> That's just how attached property events are fired.
Ok, I understand that probably something other is missing to make the
required attribute to work.
But with parent == null they will never be fired ... in your opinion,
shouldn't be parent (automatically) have some value, or should I set
the right parent value manually, so listeners here will be called when
iy's the case ?

Reply via email to