Skip to Content
0
Former Member
Jan 16, 2008 at 12:50 PM

ConfirmationDialog in Component Controller

23 Views

Hi,

Is it possible to popup the confirmation dialog in the Component controller code.

I have used to the following code to display in view controller.

**String dialogText=" Test Message";**

**IWDControllerInfo controllerInfo =wdControllerAPI.getViewInfo().getViewController();**

**IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,**

*** controllerInfo.findInEventHandlers("onActionOK"),"OK");***

I have a requirment to display the Confirmation dialog in component controller.

Please let me know if it is possible to achieve the same. Paste the API code as well.

Thanks and Regards,

Sekar