Why can't you make a sap.m.Dialog be modal?

We have decided to use mainly mobile components and I am wondering why the sap.m.Dialog component doesn't have a setModal method to make it modal or not. Is modality not something that a mobile component needs?
Thanks!

Hello Erich,
Please check the following code. The dialog box is modal.
var messageDialog = new sap.m.Dialog({
    title: "Dialog Title",
    type: sap.m.DialogType.Message,
    icon: "sap-icon://error",
    content: new sap.m.Text({
    text: 'You can set your UI Content here'
    leftButton: new sap.m.Button({
    text: "Ok",
    press: function () {
    alert("You tapped Left Button");
     rightButton: new sap.m.Button({
     text: "Cancel",
     press: function () {
     alert("You tapped Right Button");
Hope this is helpful to you.
Please let me know.
Regards,
Suraj Kumar

Similar Messages

  • Why can't you make the bookmark toolbar visible by default?????

    I went to organize my bookmarks and there is no toolbar. Now, you say it is hidden by default. That's crazy. Anyway, I can't follow the instructions. There is no Firefox button to click. There is no "options" option anywhere.
    I can't even set my default options for applications, or the Internet. That's gone too. Will you please ;make these helpful tools VISABLE BY DEFAULT! If not, why not?

    Thank you very much, Car-el. If others had told me this, the problem would have been solved three days ago! However, I wanted to rename a folder, and I don't see that this is possible. I would think that after one goes to the "Show All Bookmarks" one could change the name in the "folder name" text box and it would work, or right click on the actual folder one wants to rename and the pull down would have that option. Not so for either here. So, my problem is still not solved. Oh, well.

  • I don't understandwhy i need to buy a new charger cable for my iphone 5 every week. why can't you make a normal cable, that doesn't stop working? i csn't spend so much money on buying new cablesall the time.

    these cable are so delicate that after one week of use they break down. i can't spend all my money on buying them. moreover, last week it broke down on saturday eve so i was stuck untill tuseday without a phone.
    i have to say that this compan is so rude, and it took me like an hour to sign in and write this complain, and i'm not even sure if it's the right place to wright this sort of things.
    apple's customer service is the wort customer service in the world.

    I don't understand why you need to buy a new one every week. I've had my iPhnoe 5 for almost a year, never had a problem with the cable. In addition, your phone is can't be more than a year old. Therefore, unless you're damaging them, your cable is under warranty and Apple will replace it. Perhaps you should have tried actually availing yourself of Apple's customer service before complaining about it.
    Best of luck.

  • HT204019 Why can't you make custom ringtones and apply them to your iphone without bypassing iTunes on a Mac or PC?

    I just don't think doing 18 steps just to get 1 ringtone is necessary...and if it is, it should be changed.

    You can. Get Garageband:
    http://www.macworld.com/article/2010514/how-to-create-a-ringtone-on-your-iphone- with-garageband.html

  • Why apple? Why can't you make bug reports available?

    What is wrong with Apple?  Why is it that I can report a bug directly from my phone or even on their website? Why have none of these questions been getting answered in this forum except for that one? I hope someone with management power sees this and realizes Apples serious lack in being able to support

    http://www.apple.com/feedback/iphone.html

  • Why can't you keep addons compatible with your very frequent new version releases?

    While I understand that you don't write the addons, it is very frustrating to me, that you keep releasing major version releases every few months, and the result is large numbers of incompatabilities. Why can't you make your builds more forgiving for addons? For instance I cannot use Norton Internet Security's toolbar right now - that's a pretty major addon, and I think it's on Mozilla to ensure some form of compatibility, or at the very least, have common REQUIREMENTS published, so vendors aren't left guessing every time.

    This is a fake page, do update only from official page:
    *[http://www.mozilla.org/firefox/new/]
    This page comes up when you click on a link? Open Firefox?
    Try Start in Safe Mode, sometimes this problem is caused by addons:
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    Case the problem doesnt occur in Safe Mode:
    *[http://mzl.la/MAyOQc Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    Sometimes the problem can be Malwares:
    *[http://mzl.la/MPPnpl Problems with malwares]
    Also, you can use addons to block popups/ads:
    *[https://addons.mozilla.org/firefox/addon/adblock-plus Adblock Plus]
    *[https://addons.mozilla.org/firefox/addon/simple-adblock Simple Adblock]
    *[https://addons.mozilla.org/firefox/addon/adblock-plus-pop-up-addon Adblock Plus Pop-up Addon]

  • Why Don't You Make This A Sticky??

    Hi You can edit the name of my message to what ever you think is appropriate; but why can't you make this message a sticky and save advisiors the problem of having to repeat this message every day??
    When creating your message and asking for help on the Toshiba forum, always post your model name so we can  help you better. Your model number can be found on the bottom of your lap top. Thank You!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.
    Attachments:
    Capture40.JPG ‏419 KB

    Thanks Peter. That's good news. That should really help. Thanks for all you do here. I know it's a lot of work and you are appreciated.
    Dokie!!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.

  • HT203909 Why can't you provide specific instructions here about how to make the USB drive bootable?  The article referenced is not dedicated to Bootcamp--too long, too many options.  How do you make it bootable?

    Why can't you provide specific instructions here in HT203909 (Boot Camp: Creating an ISO image from a Windows installation DVD) about how to make the USB drive bootable?  The article referenced for partitioning the drive is not dedicated to Bootcamp--too long, too many options.  How do you make it bootable?

    If your BC Assistant shows the option to create a USB Installer, it automatically is marked as bootable. There is no need to have manual intervention to make a bootable USB. Once the process is manually modified, it is supported by the person modifying it.
    You have two or three options (depending on your Mac Model).
    1. Create USB... - Use a USB2 flash drive, which is erased and formatted. If your Mac supports ISOs then BCA will prompt for the Media. Any Mac which does not have a built-in Optical drive will support an ISO. There are specific Mac models which support both, DVD and USB based installation.
    2. Download Software from Apple servers...
    3. Install Windows...
    Are any additional instructions really necessary?

  • Why can't you guys make the name bit short/stylish...

    I am very much impressed with the new SKYPE for Business look and feel. And am using this for business purposes regularly ..  But what i don't like is its long name..why can't you guys make the name bit short/stylish/convenient ?..will be difficult to say every time that i am using "Skype for business....."..  Please make these short and impressive !!!..

    Thank you for your feedback! I will pass this on internally.
    What are your thoughts about this forum? Let us know by doing this short survey.

  • HT1338 Why Don't You Make a Console with Its Controller or A Controller That We Can Use on All Macs For Easier Using ?

    Why Don't You Make a Console with Its Controller or A Controller That We Can Use on All Macs For Easier Using ?

    As Paul_31 said, we are just users trying to help other users. You can submit this to Apple at the following:
    http://www.apple.com/feedback

  • Why can't you answer any of my question's? I'm done wasting my time

    Firefox has been a problem ever since it was installed!! It won't allow downloads,plugins,printer stopped working, getting error message I sent you. AGAIN WHY CAN'T YOU HELP ME BY AT LEAST TELLING ME HOW TO MINIMIZE ALL THE LETTERS. THIS JUST STARTED 2 DAYS AGO AND I DON'T KNOW HOW TO FIX IT. I'VE TRIED. WHY WON'T YOU ANSWER ANY OF MY QUESTIONS-DO YOU NOT GET IT EITHER?I'M SO UPSET W/ YOU! I CAN'T DO TROUBLESHOOTING-I'M IN THE RADIOLOGY FIELD FOR 38 YRS. I'M FAR FROM BEING A COMPUTER EXPERT!!YOU DON'T MAKE IT EASY!

    I don't see that you've ever asked a question here before, nor can I see a complete question in your all caps jumble which is very hard to read.
    However a couple of days ago the servers were messed up and undoubtedly questions as well as a great many answers may have been lost. So why don't you tell us in normal letter case what your questions are? Look at the bottom of the following report http://health.support.com/ and at the top of the report it looks like things are working now. We are volunteers (Firefox users like you).

  • Why can't I make a playlist from the vdownload app since installing Iso7

    Why can't I make a playlist from the vdownload app since installing iso7

    So where do you do when apps just seem to stop working, particularly when you paid for an app.  I have now had then happen twice and there seems to be very little customer care from Apple when this occurs.  Just a note to let customers know that an app will no longer work or who to contact would be great. Thanks, Kevin

  • Why can't I make a call? Bills paid

    Why can't i make a call?  All morning my phone worked and now when I try to call even you I get told I am being sent to an outside operator where I can pay to make a call with my credit card.  I also pay for this service!!!!  Why can't I make a simple call are your towers down? I am in Klamath falls or.

        Charise820,
    We are dedicated to offering you the best possible service where you need it most, It does concern us to hear that the service has not be the best lately but will work to get this resolved as soon as possible. I can see that this happened yesterday but I do want to check to see if your service has been restored? Are you not able to access the internet or send and receive text messages? Please keep us posted.
    CandiceH_VZW
    Follow us on Twitter at @VZWSupport

  • Why can't I make a kik account? I have IOS6 and higher and my restrictions are turned off! Please help!

    Why can't I make a kik account? I have IOS6 and higher and my restrictions are turned off! Please help!

    What happens when you try?
    See:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    Contact the developer/go to their support site
    https://kikinteractive.zendesk.com/home
    Restore from backup. See:
    iOS: How to back up
    Restore to factory settings/new iPod

  • HT204053 Why can't I make a purchase on my iPad

    Why can't I make a purchase on my iPad

    Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
    What happens when you try to buy them, does the 'buy' button not work, do you get any error messages ... ?, we won't know what is/isn't ha
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

Maybe you are looking for

  • Apple Application Support was not found on new itunes update.

    I have unstalled and installed the newest itunes update about 10 times now.  I still get (in itunes and itunes helper) "Apple Application Support was not found. Apple Application Suport is required to run itunes".  Please uninstall itunes, then insta

  • I have problem in Table Control?

    Hi, With the help of Table Control I put data on screens  but my question is " How can I read one or more rows from that list " ?? Plz help me out. Thanks and Regards, Gagan

  • XHTML Mobile Using DW-8 & DW-CS3

    My first posting, hope I'm doing this right! According to Adobe Customer Service, DW-CS3 is required if one wishes to develop a mobile web site (Using XHTML Mobile 1.0). Dreamweaver 8 also has a setting for XHTML Mobile 1.0. Since I'm not a professio

  • Header Condtion Records-Transactional Table Details

    Hi Folks, My client is having a requirement to generate a report which fetches the condition value details like (freight, Tax etc) against a particular sales orders. We have noted certain cases where the condition records at the header level can be m

  • I inserted a mini CD (3") and it will not eject, how can I get it out??

    I inserted a mini CD (3") and it will not eject, how can I get it out??  I tried a little shaking, and restarting and holding the mouse pad down.  I heard the spinning but still cannot eject or read the disc.