Show TOC Start of Content Area

Object documentation MessageArea  Locate the document in its SAP Library structure

Definition

The MessageArea UI element is a placeholder that specifies where messages, such as error messages or warnings, should appear in the view.

If there is a suitable MessageArea instance, all messages appear in it. Otherwise, the messages appear in a separate window that is similar to a status bar and appears at the bottom of the screen. You can use a MessageArea instance if it belongs to the layout of the associated view.

You cannot set the enabled property to false and can only bind this property to a read-only context attribute of type boolean with the value true.

You cannot set the visible property to none or blank and can only bind this property to a read-only context attribute of type com.sap.ide.webdynpro.uielementdefinitions.Visibility with the value “VISIBLE“.

Note

If there is more than one suitable IWDMessageArea instance, the first instance created is used

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 you want the MessageArea UI element to be visible, make sure that the view that contains the UI element is also visible, that is, that the visibility of the view and the UI element match.

The tooltip property does not affect the appearance of the UI element.

Description of UI Element Properties

      maxVisibleMessage

Describes the maximum number of messages that appear without a scrollbar. A negative or zero value means “unlimited”, and all messages appear without a scrollbar.

Properties Overview

Name

Interface

Type

Initial Value

Bindable

enabled

IWDUIElement

boolean

true

bindable

maxVisibleMessages

IWDMessageArea

int

0

not_bindable

tooltip

IWDUIElement

String

 

bindable

visible

IWDUIElement

WDVisibility

visible

bindable

 

 

End of Content Area