cancel
Showing results for 
Search instead for 
Did you mean: 

Table Popin: onClose doesnu00B4t work

Former Member
0 Kudos

Hi,

I use a popin and I bind the method closePopin to the onClose event. Now I can see a close icon in the popin, but the event are not fired. If I click on the close icon there is no reaction.

public void onActionClosePopin(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )

{

//@@begin onActionClosePopin(ServerEvent)

manager.reportException("closePopin", true);

//@@end

}

Any ideas?

Regards,

Roman

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Roman,

I believe that you have done everything right but something is missing. I suggest use this code:

IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
IWDTextAccessor textAccessor=wdComponentAPI.getTextAccessor();
String textDelete="Message ";
IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,controllerInfo.findInEventHandlers("onActionclose"),"Close");

Create an action with the same name onActionclose and your popup will work. I think this will be helpful to you.

Regards,

Gaurav Bhardwaj