cancel
Showing results for 
Search instead for 
Did you mean: 

IWDConfirmationDialog with missing button.

Former Member
0 Kudos

Hi,

under what circumstances would the button in a confirmation dialog not show?

In one DC I've opened a Confirmation dialog with an attached event handler, and it works ok.

I do exactly the same later, and it won't show the ok button.

The code:

IWDConfirmationDialog cd = wdComponentAPI.getWindowManager().createConfirmationWindow("Some message.",

wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("onActionConfirmDialogOK"), "OK" );

cd.setTitle("A title");

WDPortalEventing.fire( "com.company.test", "disableSearchWO", "true" );

cd.open();

Have anyone experienced the same behaviour?

Thanks

/Mikael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mikael

I've experienced the exact same thing. Apparently the confirmationdialog wouldnt show the button if a message from the messagemanager was showing in another view. So before opening the confirmationdialog I simply ran a .clear() on the messagemanager which solved the problem.

Regards

Carl

Answers (0)