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.
For more information, see Messages .
More information:
Reusable Components and the Message Area
|
Runtime class |
CL_WDR_MESSAGE_AREA |
|---|---|
|
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 |
|
Name |
|---|
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations are available as in the View Designer. 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 |
|
|
View Designer name |
Runtime name |
|---|---|
|
ON_NAVIGATE |
Example
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.