cancel
Showing results for 
Search instead for 
Did you mean: 

call method after closing popup

former_member211591
Contributor
0 Kudos

Hello experts,

I've got a component CA which opens a popup (created with "create_window_for_cmp_usage" with component CB).

When closing the popup I want to trigger an mehod in CA automatically.

How can I achieve that? How (when) does CA know that the popup has been closed? Is there any hook method I can use?

I noticed, that closing the popup doesn't initiate a new roundtrip (wddoinit of CA).

Thank you for your answers.

Regards

I. Durmaz

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi.,

Deactivate close button in Popup window and create a okcancle button with text as close and do your coding ( what you want to do in on close of pop up window ) in that action.

hope this helps u.,

Thanks & Regards,

Kiran

Answers (1)

Answers (1)

former_member211591
Contributor
0 Kudos

I solved my problem.

I created an interface event in component CB.

This event I registered in CA which implements the eventhandler.

Firing event in CB thus executes the respective eventhandlermethod of CA.

Anyway. Thanks all.