Skip to Content
Former Member
May 12, 2013 at 09:31 AM

Suspending the application from the another component


Hi Experts,

Please advice.

I have a component say CompA which is having an embedded component CompB. An application is created for CompA. The views of CompB are called from CompA.

Now I have a view in CompB,in which on click of a button i need to call a third party payment gateway page and i have to resume the application. I am not able to trigger the suspend plug of CompA from CompB. getting the error like "Suspend plug can be triggered only from the main window".

As a alternative way, views of CompB can be copied to CompA and can achieve this. But this will over weight the component. can this be done in any other way?