The initial component has been created and is displayed in the Web Dynpro Explorer view.
The context attribute, the UI element is bound to, is not of a Basic Type data type. This is because, if it is, all messages are generated automatically and cannot be changed manually.
You can display a message for the user which will inform, for example, that an error has occurred.
This section describes the steps you perform in the Message Editor tool. For more information concerning the IWDMessageManager class, refer to Displaying User Messages .
With the Message Editor you can create, change, and delete messages. You store the message text in the message pool by means of the Message Editor tool. In a second step you refer to their message key in the coding. You can create a user message of the following available types:
Success
Warning
Error
Info
Text
At runtime, all message types (except the Text type) are the displayed with an icon indicating the assigned type.
You use the Text type, for example, if you do not want to assign one of the message types at design time. Messages of this type are of type IWDText . You access these messages through class IWDTextAccessor . To display the message with the required icon, you then use the appropriate method.
Interface IMessage<WD Component>.javain the target folder contains the keys of the defined messages as constants.
Messages of type Text are of type IWD Text IWDMessage . Messages of all other types are of type .