Skip to Content
0
Former Member
Feb 26, 2009 at 04:47 AM

Code to get error message in small pop up window.

26 Views

Hi,

I got this code to get error message in pop up window. But this code is giving null pointer exception.

Can any one tell what is the exception. and how to solve it.

IWDConfirmationDialog dialog;
		String dialogText = "Duplicate value ";
		dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(
		dialogText,
	      wdControllerAPI.getControllerInfo().findInEventHandlers("ok"),
		"ok"
		);
		dialog.open();

Regards,

H.V.Swathi