Skip to Content

Removing a Message from MessageManager

Hey Experts,

i'm adding a message to the MessageManager but how to remove a Message?

https://sapui5.hana.ondemand.com/#docs/guide/a90d93df5a024e8bb18826b699c9aaa7.html

this._oMessageManager.addMessages(
  new sap.ui.core.message.Message({
  id: oSource.getId() + "Message",
  message: this.getResourceBundle().getText("error.valueNotValid.messageText"),
  description: this.getResourceBundle().getText("error.valueNotValid.messageDescription"),
  type: sap.ui.core.MessageType.Error,
  target: oSource.getId() + "/value",
  processor: this._oMessageProcessor,
persistent: true
  })
);

The Message should also be remove from the MessagePopover.

I'm working with version 1.32.5 and WebIDE.

looking forward to your reply

Thanks

Simon

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 07, 2015 at 01:45 PM

    Hi,

    Check SAPUI5 SDK - Demo Kit

    -Chandra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.