Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

component reuse

Hi Experts,

I am using a child components window as popup in main component.

Child component sets a context attribute in its controller which i use in main component for further processing.

Is there any event(or another way) to know when child component has finished/returned processing?

I need to trigger another event in main component immediately after the child is done with its purpose.

Please suggest. Points assured.

Thanks

Edited by: Achyut Dake on Mar 20, 2008 4:13 PM

replied

Hello Achyut,

yes, that's possible. Just define a public event at the component controller of the component in which the window resides in. It should appear at the interface controller of that component, if properly set to public. Then register for that event from the outside component.

The event can be triggered from the window by calling a method at the component controller of the same component.

Best regards,

Thomas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question