Skip to Content
0
Jun 03, 2005 at 10:11 AM

Doubling of message if it is canceled the popup

9 Views

Hello,

I create one view. In this view i create modalWindow and open this window. In this window i have button "Cancel".

The source code of method onActionCancel() is:

onActionCancel(...) {

IWDWindow window = ctxEl.getWindowLogin();

window.destroyInstance();

this.wdComponentAPI.getMessageManager().reportMessage(

IMessageMaintenace.MSG_GET_DOWNLOAD_INFO_CANCELED,

null,

false);

}

When i press the button "Cancel" the message is appeared twice.

Can someone told me how can i solve this problem with doubling of message?

regards,

Krasimira