cancel
Showing results for 
Search instead for 
Did you mean: 

Closing popup window from the parent view

Former Member
0 Kudos

Hi,

Is there a method to close pop up window from the parent view itself? Right now I have written the code to close the pop up window on action 'OK' of the pop up. I need to fire plug to another view at the same time of closing the pop up. Right now that is not possible in the event handler for OK button. So I want to close the pop up and at the same time fire plug to another view from the parent view itself.Please let me know if there is a solution for this. Useful answers will be definitely appreciated.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In the event handler of the "OK" button call a method (create a new method) of the component controller.

In component controller create a event and catch this event in the parent view by creating a event handler.

In component controller method fire the event and the control goes to the event handler in the parent view from where you fire a plug to another view.

Regards,

Ashwin.