cancel
Showing results for 
Search instead for 
Did you mean: 

How to show a notification message in message pool.

Former Member
0 Kudos

Hi guys,

can some one help me out . i want to have a notification message to show in the message area (with a yellow image that comes before the message in all the notifivations messages).

i know that by using the code below we can show the success, exception,warning.

wdComponentAPI.getMessageManager().reportSuccess(wdComponentAPI.getTextAccessor().getText(IMessageProjectComp.PROJECTCOMP__UPLOAD__ACTIVATE__NOTIFICATION));

wdComponentAPI.getMessageManager().reportException(wdComponentAPI.getTextAccessor().getText(IMessageProjectComp.PROJECTCOMP__UPLOAD__ACTIVATE__NOTIFICATION));

wdComponentAPI.getMessageManager().reportWarning(wdComponentAPI.getTextAccessor().getText(IMessageProjectComp.PROJECTCOMP__UPLOAD__ACTIVATE__NOTIFICATION));

But i want to show just a notification message insted of all the above (success, warning , exception).

Any help in this will be highly appreciated.

Regards

sudheer varma

Accepted Solutions (0)

Answers (2)

Answers (2)

monalisa_biswal
Contributor
0 Kudos

Instead of using a message bar use textview to show the message.

Modify its semantic color and design properties to achieve different look and feel for the message.

former_member201361
Active Contributor
0 Kudos

Hi Sudheer,

U can create a message say "Test" in message pool of Type Info. u can use this message for displaying info messages as shown below.

wdComponentAPI.getMessageManager().reportMessage(IMessage<ur component name>.Test);

i am not sure about the image, just try this.

Thanks and Regards