Class sap.ui.commons.MessageListModule: sap/ui/commons/MessageList
Instantiated by the "MessageBar" Control if the user requests to generate the corresponding "MessageList".
Deprecated API:Since version 1.4.0. A new messaging concept will be created in future. Therefore this control might be removed in one of the next versions.
sClassName and enriches it with the information contained in oClassInfo. Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
| {string} | sId? | ID for the new control, generated automatically if no ID is given |
| {object} | mSettings? | Initial settings for the new control |
- Deprecated:
- Since version 1.4.0. A new messaging concept will be created in future. Therefore this control might be removed in one of the next versions.
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.
| {string} | sClassName | Name of the class being created |
| {object} | oClassInfo? | Object literal with information about the class |
| {function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
| {function} | Created class / constructor function |
| {sap.ui.base.Metadata} | Metadata object describing this class |
anchorId. ID of the anchor under which the MessageList will render.
| {string} | Value of property anchorId |
maxListed. Maximum number of messages being display in the List before a scrollbar appears. Value '0' means no limit.
Default value is 7.
| {string} | Value of property maxListed |
visible. Specifies whether or not the MessageList is visible. Invisible controls are not rendered.
Default value is false.
| {boolean} | Value of property visible |
anchorId. ID of the anchor under which the MessageList will render.
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sAnchorId | New value for property anchorId |
| {sap.ui.commons.MessageList} | Reference to this in order to allow method chaining |
maxListed. Maximum number of messages being display in the List before a scrollbar appears. Value '0' means no limit.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 7.
| {string} | sMaxListed | New value for property maxListed |
| {sap.ui.commons.MessageList} | Reference to this in order to allow method chaining |
| {sap.ui.commons.Message[]} | aMessages | Message list. |
visible. Default value is true
The default implementation of function "setVisible()" is overwritten in order to invoke the open() and close() of the MessageList Popup.
| {boolean} | bVisible | New value for property visible |
| {sap.ui.commons.MessageList} | this to allow method chaining |