Skip to Content
Former Member
Aug 30, 2007 at 06:25 AM

parameter passing


Hi All,

I need to open a confirmation dialog with user.

In the simplest style, a confirm event is triggered.

I've now change the event somewhat and it needs to takes in some parameters.

So, when opening up the dialog, how do one pass in the parameters in this case.

I've my dialog opening function listed below.


yung siu wai

public void openDialogWindow( controllerInfo, java.lang.String dialogText, java.lang.String confirmEventName, java.lang.String confirmText, java.lang.String abortEventName, java.lang.String abortText )


//@@begin openDialogWindow()

IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow( dialogText, controllerInfo.findInEventHandlers(confirmEventName),confirmText);

if (abortEventName != null) dialog.addChoice(controllerInfo.findInEventHandlers(abortEventName), abortText);;