Skip to Content
author's profile photo Former Member
Former Member

How to show a notification message in message pool.

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 02, 2009 at 06:24 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 03, 2009 at 06:04 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.