
The MessageArea UI element represents a placeholder that specifies where messages, such as error messages or warnings, should appear in the view.
Under certain circumstances, the Web Dynpro Framework changes the position specification of the MessageArea UI elements, if other targets have priority, for example, portal mechanisms for displaying error messages.
If the MessageArea UI element should be visible, make sure that the view that contains the UI element is also visible, that is, the visibility of the view and the UI element should match.
For more information, see Messages .
More information:
Reusable Components and the Message Area
| Runtime Class |
CL_WDR_MESSAGE_AREA |
Properties in the View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
WDY_BOOLEAN |
true |
Yes |
|
|
I |
0 |
No |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
I |
0 |
No |
|
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
Events in the View Designer
| Name |
|---|
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
Dynamic Programming of Properties
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
| View Designer Name | Runtime Name | Type |
|---|---|---|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_MESSAGE_AREA=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_MESSAGE_AREA=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_MESSAGE_AREA=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
FIRST_VISIBLE_MESSAGE |
I |
|
|
HISTORY_VISIBLE |
WDY_BOOLEAN |
|
|
MAX_VISIBLE_MESSAGES |
I |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_MESSAGE_AREA=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_MESSAGE_AREA=>E_VISIBLE-VISIBLE |
Dynamic Programming of Events
| View Designer Name | Runtime Name |
|---|---|
|
ON_NAVIGATE |
You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the MessageArea view.