Skip to Content
0
Former Member
Jun 04, 2008 at 11:30 AM

how to display only one message in WD

11 Views

Hi all,

I want to display successful message or error message when certain action is perform.

I have my message enter in the MessagePool, say Request_Successful_Updated and value is "your request is successfully updated"

In my WD, I do this:

IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();

msgMgr.reportSuccess(textAccessor.getText(IMessage<my class>.Request__Successful__Update));

The error message appear three times in the top view, right side view and the bottom of the view.

How to just displayed one error message on just on side of the view?