on 03-07-2006 8:47 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.