Hi!
I would like to know if it is possible to pass the parameters received by an inbound plug in the Interface view to a specific view.
For example, I have two components A and B. View in component A has an outbound plug and a link to the inbound plug of the interface view of B. Currently, the default view of B appear when the plug is fired. I may pass parameters from the view A to the interface view of B, but I did not figure out how to communicate those parameters directly to the default view.
Of course, I can use the Component Controller to get/set the information in the context, but I wonder if there is a better way to do this?
Finally, is it possible to link an outbound plug of an interface view to an inbound plug of a specific view (in the same component).
Thanks in advance,
Barthelemy
Ok, I just found a way to propagate parameters received through the inbound plug of an interface view.
I fire an event (with parameters) from the component controller and one of my view is registered to handle this event. I can now propagate the parameters in a way that seems clean to me.
Since the view is created before the code of the interface view is executed, this works.
Is it the good way to do this?
I would also like to know if it is possible to create (initialize) a view without using declarative plug?
Thanks,
Barthelemy
Add a comment