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?