Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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);;

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question