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".
// 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().
wdComponentAPI.getMessageManager().reportSuccess("Dialog box has closed.");