I have a root layout that contains a main menu and a toolbar. Embedded in this layout is another layout containing my other controls (table view, list boxes, etc.). I have a controller class for each layout.
In the controller for the 'embedded' layout, I have the table view updated from a database in the 'initialize' method. BUT-- I have a button in my root layout that I use to add items to the database. After this occurs, I need to update the table view with the item that was just added to the database.
My problem is that since I don't have access to the controls referenced in the embedded layout's controller, I'm not sure how to update a control that belongs to a different controller.
I've seen other posts here regarding using a single controller for multiple layouts. Is this best practice? Or is there a different approach I should take?