on 04-16-2008 9:30 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.