on 09-02-2009 2:26 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.