cancel
Showing results for 
Search instead for 
Did you mean: 

Using popup in Component controller

Former Member
0 Kudos

Experts,

I would like to use the create_popup_to_confirm method in component controller so i could reuse them in other views. The problem i have is the "subscription to the button event". I am assuming the subscription should be done at the view level but how do i link it to the "button_kind" which is at the controller level ?

Thanks

ASujo

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

For the susbscribe to button event action should be aexisting in one view. and that you need to assign.

you can assign it in comp controller also.

but actions you have to create in the view.

and for reusing the function for creating pop up, create some parameter in it

like 1. for view controller

2. for action names.

then assign the buttons to the events using these paramters.

thanks

sarbjeet singh

Former Member
0 Kudos

Thanks Sarbjeet.. that worked

Answers (0)