MessageArea
The MessageArea UI element represents a placeholder that specifies how messages such as error messages and warnings are to be depicted in the view.
Under certain circumstances, the Web Dynpro Framework changes the position specification of the MessageArea UI element if other targets such as portal mechanisms for displaying error messages have priority.

Note that if the MessageArea UI is to be visible, you should also make sure that the view that contains the UI element is visible (the visibility of the view and 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 |
id |
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 high-level classes. The associated UI elements are:
For dynamic programming, the same properties, events, and aggregations are available as in the View Designer. Bear in mind the different spellings.
Dynamic programming of properties
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 for this UI element in the system in the WDR_TEST_UI_ELEMENTS Web Dynpro application and in the WDR_TEST_EVENTS component in the MessageArea view.