MessageArea
Use
The MessageArea UI element is a placeholder that specifies where messages such as error messages or warnings should be displayed in the view.
The specified position of the MessageArea UI element may sometimes be changed by the Web Dynpro Framework if other specifications, for example portal mechanisms for displaying error messages, take priority.
|
Runtime Class |
CL_WDR_MESSAGE_AREA |
Properties in 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 |
|
| styleClassName | STRING | Yes | |
|
Translatable text |
Yes |
visible |
|
|
WDUI_VISIBILITY |
visible |
Yes |
Events in View Designer
|
Name |
|---|
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
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 |
|
| styleClassName | STYLE_CLASS_NAME | STRING |
|
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 |
Example
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 view MessageArea