CustomField and FieldGroup

Hi,

I am having a problem combining CustomField and FieldGroup. I have a CustomField that contains a Popup that contains an OptionGroup.

This CustomField is used as a field in a layout that is binded to a POJO, with a FieldGroup.

Everything works perfectly except in one occasion. I need to reset the POJO to its default state. In order to update the UI I call again the buildAndBind method of the FieldGroup. Every other component gets updated properly but the CustomField that I created doesn’t.

Debugging I have analysed the state of the CustomField when markAsDirty() is called, and the internal state is correct and I refresh the children components but it doesn’t get reflected in the UI. I have realized that if I enable or disable the component it does get repainted correctly.

Any ideas on how to do this right?

Thank you in advance.
Francesco

Hey guys,

something like a method called onBind() would be great…

You are driving me crazy