Class sap.ushell.services.MessageModule: sap/ushell/services/Message



Since: 1.16.0.
Constructor Summary
new sap.ushell.services.Message()Message service.
Field Summary
confirmShows an confirmation dialog on the screen.
errorShows an error message on the screen.
infoShows an info message on the screen.
Constructor Detail
new sap.ushell.services.Message()
Message service.
Field Detail
confirm
Shows an confirmation dialog on the screen.

The callback is called with the following signature: function(oAction) where oAction is the button that the user has tapped. For example, when the user has pressed the close button, a sap.m.MessageBox.Action.Close is returned.

If no actions are provided, OK and Cancel will be shown. In this case oAction is set by one of the following three values: 1. sap.m.MessageBox.Action.OK: OK (confirmed) button is tapped. 2. sap.m.MessageBox.Action.Cancel: Cancel (unconfirmed) button is tapped. 3. null: Confirm dialog is closed by Calling sap.m.InstanceManager.closeAllDialogs()

error
Shows an error message on the screen.
info
Shows an info message on the screen.