Skip to Content
Former Member
Jul 30, 2005 at 06:08 AM

Displaying Confirmation Dialogbox


Hello All,

Below is my code for displaying the confirmation dialogbox. However, I am currently having problem to have this popup box appear. Can someone point out where I may have gone wrong ? Thank you very much.

PS : I have already created an event handler named "handleOk".

<u><b>My Code</b></u>

// Popup dialog to display error and prompt user to try again.

wdComponentAPI.getMessageManager().reportSuccess("Dialog box has opened.");

String displayText= messagegetUserInfoFromId + " . Please try again or contact the IT Helpdesk for further assistance.";

IWDConfirmationDialog dialog = wdThis.wdGetCreationCompController().wdGetAPI().getWindowManager().

createConfirmationWindow( displayText,



wdComponentAPI.getMessageManager().reportSuccess("Dialog box has closed.");


Kwok Wei