I have the following scenario:
A table composite. The table binds to a a container model object.
A detail composite. The detail composite has a controller which binds its contents to an instance variable in the controller.
I created an instance variable in the table class that refers back to the controller. The controller is bound to the table selection.
My issue is the code generator is inserting code to init bindings at the close of the constructor in the table view. Since the detail component is not yet built, an NPE is thrown in the attempt to bind the controller field to the table selection. I have manually moved the call to an appropriate method - initing bindings only after the controller is set in the table composite.
Is there a mechanism to "inform" the generator of this scenario or a better method of defining bindings to avoid this? While the PhoneBook example includes a composite for the detail view - the actual example does not use this composite.