on 04-20-2009 1:13 PM
Hi All,
I would like to know how to write an error message to a message area UI?
thanks,
Hi,
Same as normal message display
wdComponentAPI.getMessagemanager().reportException("your msg ",false);
MessageArea UI element automatically populates this one in the specified area
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rami,
In webdynpro applications all the messages(Warring, error,...) are displayed at the bottom of the screen by default.
So if you want to display messages at a specified location then create a Message area, so that all the messages are automatically displayed in the specified message area.
Regards,
Sandeep Reddy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rami
Use this code
dComponentAPI.getMessageManager().reportException(String message,boolean cancleNavigation) ;
String Message ---your message
boolean cancleNavigation -- True OR False
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rami,
You can define these messages (error/warning/success) in the Message Editor for the Web Dynpro component & use them thru IWDMessageManager API.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.