on 06-04-2008 12:30 PM
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?
Hi,
try using messagearea UI element.
By using this all the message will displayed in this area
automatically.
Regards
Surender Dahiya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Define a success message or Error message in the pool.
Use the following statement
wdComponentAPI.getMessageManager().reportMessage(IMessage<Comp_Name>.<MessageKey>,
null,false);
Define message areas View element in your View and place it where you want to display the error message.
May be this helps you.
Regards
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you used a viewset to display the three views on the screen??
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.