Skip to Content
author's profile photo Former Member
Former Member

sap.m.MessageBox.show - problem

Hi,

I am using sap.m.MessageBox.show to Display a confirmation message, asking user to confirm 'Yes' or No'.

Everything works fine, but the Message Pop-up, does not wait for the User input.

Message is displayed and disappears, without waiting for user's action.

any pointers would be appreciated.

Thanks,

Shanth

Test.txt.zip (367 B)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Oct 02, 2015 at 01:40 PM

    any errors in console?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2015 at 10:22 AM

    Hi Shanth,

    jQuery.sap.require("sap.m.MessageBox");

    sap.m.MessageBox.show(

    "This message should appear in the message box.", {

    icon: sap.m.MessageBox.Icon.INFORMATION,

    title: "My message box title",

    actions: [sap.m.MessageBox.Action.YES, sap.m.MessageBox.Action.NO],

    onClose: function(oAction) { / * do something * / }

    }

    );

    Thanks,

    Karthik A

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 20, 2015 at 08:07 PM

    Hi,

    I'm facing the same issue, did you happen to find any fix for this problem?

    Thanks,

    Mallik

    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.