cancel
Showing results for 
Search instead for 
Did you mean: 

how to Fire a plug from component controller

Former Member
0 Kudos

Hi experts.

     I got a window split in two parts.

     At the top cell i got a view that is a RoadMap View to control the state to change the bottom View.

     At bottom cell i got diferent views linked by plugs, called view1, view2 etc...

     I use a the RoadMap View to change into diferent views, so there is a button to continue or go back.  I do the logical of it in the component controller.

     I want tho know how i can fire the plug of the View1 from  component controller.  I create an event on the component controller but i dont know how to bind this event with an event on the View1 or even the fire plug.

Thanks in advace.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos
you can fire event in component controller.
you view just listen to that event and fire outbound plug in event handler.
Former Member
0 Kudos

thanks but i dont know how to do that.

Former Member
0 Kudos

Hi,

Create an event handler in the view controller, by selecting the event source as "Component controller" and the subscribed event as the the event that will be fired in the component controller. In this event handler method of the view, fire the plug.

Regards,

Vishweshwara P.K.M.

junwu
Active Contributor
0 Kudos
add the component controller as required controller in your view controller
in your view controller,  new a event handler which give you a wizard to select the component and event. after that , write the code to fire the plug in the created event handler.
Former Member
0 Kudos

thanks all of you

Answers (0)