Enable/disable UI components

Hi Guys,
I have a problem with some UI components during their activation.

When I disable the BeanFieldGroup, it’s all ok. Later, when I enable the BeanFieldGroup, some label remain disabled. These label concern UI components like ComboBox and DateField, and are bound in BeanFieldGroup by bind(Field, Object) method. Other components are bound in BeanFieldGroup by buildAndBind(String caption, Object propertyId).

Thanks in advise for help.

Hi,

what exactly do you mean by disabling a BeanFieldGroup? It’s not a component and does not have a setEnabled method.

Also, a small code sample which reproduces the problem could help.

-tepi

FieldGroup, in fact, does have setEnabled; it simply delegates to the set of Fields bound to it. But yes, please provide some test code.