Skip to Content
0
Former Member
Mar 23, 2009 at 10:53 AM

Reg: Confirmation dialog box

17 Views

Hi All,

I am using the below code for creating a dialog box. But it is giving me null pointer exception.

IWDEventHandlerInfo ev1=wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("YES");

IWDConfirmationDialog dlg=wdComponentAPI.getWindowManager().createConfirmationWindow("No Customer Exists. Do you like to create new Customer?",ev1,"YES");

dlg.show();

Kindly suggest.