Use case i’m trying to implement :
- create a product (editor)
- when you select product family (using a dedicated ds) some other product fields are initialized with content of product family fields (implemented)
- discover you need a new product family and create it another screen/tab while keeping product editor open
- the new family should be available in the still opened product editor screen
By default this does not work of course, because the product family datasource behind the product editor has to be refreshed.
The macro design of a solution would be sending some signal <> from the product family editor once new family is saved. Signal should be heard from product editor which would then refresh its product family ds.
Is there a standard way to implement this in CUBA ? I was thinking about BlackBoard or Google EventBus but maybe there is already an internal system alike in the platform.