Hi
my requirement is to create a popup window, to confirm the user "ok" or "cancel" to take necessary action.
using the below code we were able to create the popup window but after the popup window is displayed and after clicking on the "ok" button we are not able to capture the necessary event.
Currently, the popwindow is displayed upon clicking on the "OK" or "CANCEL" button we are not able to control the user upon the appropriate action
IWDControllerInfo conf= wdControllerAPI.getViewInfo().getViewController();
IWDEventHandlerInfo hndinf= conf.findInEventHandlers("cancelcheck");
IWDConfirmationDialog confd= wdComponentAPI.getWindowManager().createConfirmationWindow(wdComponentAPI.getTextAccessor().getText("cancel_check"),hndinf,wdComponentAPI.getTextAccessor().getText("ok_check"));
hndinf= conf.findInEventHandlers("okcheck");
confd.addChoice(hndinf,wdComponentAPI.getTextAccessor().getText("confirm"));
confd.show();
Please suggest the way forward.
THanks & Regards
Vijay Krishna S