Are you sure message box

Hi all,
Maybe one of you can hel me with this problem. When a user clicks a command link to delete a record
I want to display a message box asking them if they are sure the want to do this, the message get displayed
when the user clicks in the link but the action never gets trigger.
     <h:commandLink styleClass="commandLink" id="deleteMod" action="#{pc_LanguageView.doDeleteAction}" onmousedown="return confirm('Are you sure yuou want to delete this record?');">
     <h:outputText id="delModule" styleClass="outputText" value="Delete selected Value"></h:outputText>
     </h:commandLink>     
thanks

Not related to the problem, but you should have used onclick instead of onmousedown.
As to your problem, it lies somewhere else. To prove it remove the onmousedown/onclick and see. The actual problem can basically be either that the UICommand component isn't nested inside an UIForm component, or that the UICommand component isn't enabled/rendered/available during the apply request values phase of the submit request.

Similar Messages

  • Any way to cancel "Are you sure you want to restart" message?

    In other versions of OS X, holding down the option key when selecting an option to restart or shut down the computer allowed the user to bypass the annoying "Are you sure…" message. This seems to have stopped working in Lion. Is there any way to bypass these messages? Did the modifier key get changed? There's nothing wrong with the keyboard's option key. The "bypass" works as it should in Snow Leopard.

    Weird: after consistently NOT working for months, now that I've talked about it publicly, it has apparently been shamed into working as it should.

  • My MacBook Pro 13" Solid state Retina display stars then it will randomly show a gray boxed message asking:Are you sure you want to shut down your computer. It gives 4 alternatives Re start, sleep cancel or shut down

    My 2013 MacBook Pro 13" Solid state Retina display stars then it will randomly show a gray boxed message asking:Are you sure you want to shut down your computer. It gives 4 alternatives Re start, sleep cancel or shut down. This is what it shows before shutdown.
    Fernando

    This is the Mac Pro desktop forum. I requested your post be moved to the MacBook Pro laptop forum.

  • How can I stop the "Are you sure you want to close this window?" box?

    Hello,
    Could someone please tell me how to stop safari/google from warning when there is text written in the search query box of google and I try to close the window? The message runs as follow: "*Are you sure you want to close this window?* You have entered text on "Google". If you close this window, your changes will be lost. Do you want to close this window anyway?"
    I'm using Safari 3.2 and I have my preferences set to open new links in new windows rather than in tabs. I did try unchecking the warning message for closing multiple tabs, despite the fact that I'm not using tabs. However, that didn't work.
    Thanks in Advance

    I would have to say it's a bug in Safari 3.x, as it apparently worked in Safari 2.x. I'm sure a bug report has already been filed on this, but if you want to give feedback to Apple about it and encourage them to fix it sooner rather than later, use this Feedback link.
    Mulder

  • How do I eliminate the message "If you exit now, 1 download will be canceled. Are you sure you want to exit?" when I close Firefox?

    When I try to close Firefox, an error box pops up with the message "If you exit now, 1 download will be canceled. Are you sure you want to exit?" I click on "Cancel 1 remaining download." (The other option is "Don't exit.") But the next time I try to close Firefox, the message pops up again. What can I do?

    You can check the Downloads folder in the Downloads Manager (Library; Show All Downloads) for unfinished downloads.
    *https://support.mozilla.org/kb/Downloads+window

  • HT1414 When I hit restore a file menu from my computer pops up and I am not sure what file to put in to get my iphone to restore from.  I don't get the box that says are you sure you want to restore.  So how do I get it to restore so I can see if this fix

    I got a "new" iphone from the Apple store when my dog bit the phone and cracked the front.  This new phone will not play any music, ie no sound will come out.  I can watch videos with sounds but no music from any of my playlists.  I checked with Apple and was told to try to restore my iphone.  I did all the necessary prep work like backing up and syncing and then hit the restore button on the iTunes page.  A file menu icon popped up with a blank in it and I do not know what file I need to put in the window as where it needs to find a file to restore the phone.  I never got a message that said are you sure you want to restore the phone.  I need some help if anyone knows how to do this or should I just go back to the Apple store (which is over an hour away)?  Thanks

    I am syncing my iphone to my iTunes account and then I do a backup and also making sure all updates are current.  Then by going to the my phone and then going to the right and selecting the restore my iphone.
    Here is a picture of what I get

  • Message "are you sure you want to shut down your computer now"

    I am in OS 10.8.5 on a Mac Pro. I get repeated message  upon start-up "are you sure you want to shut down your computer now?" Restarting does not stop the message. Nor does canceling it. It keeps occuring, blocking my ability to do applications. Because it comes to the front all the time, and the "shutdown" button is lit, if I inadvertently hit a return key while typing something else, the computer shuts down. I have a western digital backup disk-dismounting that has no effect. I have also run the disk utility permissions repair a few times to no avail.
    Thanks for any advice.
    Nov 26, 2013

    This might happen if your power button is malfunctioning.  Remember a slight tap of the power button will bring up that screen.  Bring it in for service if it is readily reproducible.

  • After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine:Are you sure you want to back up to the same device your original data is on? the WD disk has mounted??

    After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine: "Are you sure you want to back up to the same device your original data is on?"  I've reformatted in Disk Utilities...not sure what I did wrong.  Any help would be appreciated.

    Not sure what you mean by "booted" from it.
    If the Mac OS is installed on the external drive, then it's possible to start up from it, just as you do from your internal drive. Please open the Startup Disk preference pane in System Preferences, and verify that your internal drive is selected as the startup disk.
    Assuming that's the case, then it may be that your TM settings have been corrupted. Turn off TM, then move or delete the file /Library/Preferences/com.apple.TimeMachine.plist. Turn TM back on, recreate your settings, and try again.

  • HT1178 I bought Time Capsule specifically to back up my computer at work. Only my computer. I completed the steps the best of my knowledge but I got the message, "This device & its network services will be temporarily unavailable. Are you sure you want to

    I bought Time Capsule specifically to back up my computer at work. Only my computer. There are many computers within my department. I completed the steps the best of my knowledge but was unsure of which option to click. I clicked "I want to create a new wireless network". At the onset the instructions said I needed to connect with an ethernet cable, which I did. But I have no desire to connect to the internet, print from it, or have others access. I did deselect guest options, and I did put in passwords. But at the end of the process I got the message, "This device & its network services will be temporarily unavailable. Are you sure you want to continue."
    I was worried this would shut me down and I wouldn't be able to continue to work. I don't necessarily need to connect wirelessly. It is connected via ethernet cable from machine to device.
    Can you advise me how to continue? Did I choose the wrong options?

    I bought an external hard drive called "Seagate Backup Plus" From the Apple store to back up everything on my computer and anything new on my computer. It came with Time Machine. The external hard drive disk had 1 or 2 Terabytes. Time Machine says "next backup: When disk is connected." "Oldest backup: July 2, 2014." & Also "Latest back July, 2."

  • OSX: 10.9.4 Safari: 7.0.5 message: "Are you sure you want to send a form again?"

    My system:
    Mac Mini
    Processor 2.6 GHz Intel Core i7
    Memory  16 GB 1600 MHz DDR3
    Mavericks 10.9.4 (13E28)
    Safari 7.0.5
    Most annoying message keeps coming up on several websites.
    If you go here:
    http://www.bedbathandbeyond.com/store/s/laundry-sorter
    and click on the "Honey-Can-Do® Wicker Corner Hamper"
    and once in that item's site, you click to go back, I'm getting
    a message, "Are you sure you want to send a form again?"
    I don't enter anything into the screen of the item.  All I do is
    look at it, and try to click back and I keep getting this annoying
    message.
    And it happens with all other items on the BBB site.
    How to turn off this blankety-blank message??
    Its such a pain to have to keep clicking "Send" !!
    HALP!!

    Hi ...
    I followed your instructions, went back a page but no warning on Safari. Might be a cookies, cache, or extensions issue.
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If nothing above helped, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • "Are you sure you want to shut down your computer now?" message on start up

    This morning on startup I received the popup message "Are you sure you want to shut down your computer now?". Canceling has no effect. The message just reappears on restart. I've verified the disk; it's fine. I've repaired permissions and I get this message: "Warning: SUID file System/Library/Core has been modified and will not be repaired. Any ideas as to what is going on?

    Can you perhaps look in the console (/utilities/console) and watch for what's written around the time of the dialog?
    Perhaps an indication is there.

  • When I try to sync photos, I followed all the steps, picked one folder.  When I hit "apply" I get this error message: Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad. What have I done wrong

    When I try to sync photos or music, I followed all the steps, picked onle folder, not the whole library.  When I hit "apply" I got this message:
    Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad" What can I change to just download the photos and not interfere with the apps?
    (By the way, the memory is not even one quarter full)
    Thanks for your help - Pat

    I have the same problem.  I updated my mac to 10.5, which then had me update apps like itunes, etc. then it wanted me to sync my purchased music to my ipad before i updated the ipad...which worked ok. then when i was syncing the photos i got the same message when i hit "apply" asking are you sure you want to delete the 12 apps from the ipad -  clicked "no" and brought me back to the original screen. Got the same message when trying to move them from the hard drive to the ipad.  WHat is going on and how do I correct this? Thanks

  • When turning pages in catalog in safari messages comes up "Are you sure you want to send a form again? it then asks if I want to cancel or resend form? what is this and why does it pop up?

    When turning pages in catalog in safari, message comes up "Are you sure  you want to send a form again? It then asks if I want to cancel or resend form? What is this and what am I doing wrong? I'm obviously new to mac.

    You can turn that off if you want ..
    From your Safari menu bar top of your screen click Safari > Preferences  then select the Security tab.
    Deselect:   Ask before sendinga a non-secure form from a secure a secure website

  • Portal 7.3 masthead customization - How to remove Logoff dialog box "Are you sure you want to logoff?"

    Portal 7.3 masthead customization - How to remove Logoff dialog box "Are you sure you want to logoff?"
    I have recently upgraded our portal to 7.3 sps10 and we are using the Ajax framework
    I have a requirement to Remove the Logoff Dialog box "Are you sure you want to logoff?"
    I am able to Import masthead.war into NWDS and get the project ready for development with the appropriate jar and libraries.
    I am able to deploy the project also. I need help finding How to turn this dialog box off and just log the user off. I was able to accomplish this in Classic frame work page HeaderiView.jsp.
    I have looked at afpmasthead.org.sj and masthead.jsp. I am not a js/jsp developer.
    I can see the logoff dialog box being created but I am having trouble finding the logoff code.
    Please advise me on the code changes required to remove the  Logoff dialog box "Are you sure you want to logoff?" from the Ajax framework.
    Any help on this matter would be greatly appreciated.
    Thank you
    Sarah

    Thank you Troy for your Helpful Threads.
    Problem Solution:
    Followed the thread on How to download and change AFP Masthead on SAP Portal 7.3
    Located the file which contains the logoff code from thread http://scn.sap.com/thread/3265584
    The File with the Logoff coding in it is a Javascript file afpmasthead.js
    Identified logoff code without dialog box using this thread https://scn.sap.com/thread/3307601
    NovaDialogBox.performLogout();    (perform logoff)
    I was able to remove the Logoff dialog box Do you really want to logoff? And replace it with logging the user off.
    afpmasthead.js  All the code is on 1 line,  To fix this go to -->Source -->Format
    Comment out the following lines of code and replace with logoff code
    logoffLinkElement.onmouseup= function(aS) {
    logoffLinkElement.onmouseup= function(aS) {
    NovaDialogBox.performLogout();
    Sarah

  • HELP!!!  Message - (One or more applications are using the iTunes scripting interface. Are you sure you want to quit?)  How do I get this to stop?

    I bought a new Sony Vaio Laptop running Windows 8, 64bit, i7 processor.  Everytime I open iTunes and then close out, the following message occurs: (i-tunes message - One or more applications are using the iTunes scripting interface. Are you sure you want to quit?) Then it starts counting down from 20 seconds unless I just click on the (Quit) button.  How do I get this to stop?  Please be specific, I am challenged when it comes down to computers.
    Thank You

    This was extremely annoying for me, also.  I started uninstalling unneeded Sony applications to try to narrow down the problem.  It turned out not to be a Sony application... it is some functionality built into the bluetooth driver software package by Broadcom.  Uninstalling the bluetooth package (via the control panel) takes care of the problem.  Itunes also boots up way quicker.  But uninstalling it will remove features related to bluetooth and nfc.   For me, that isn't an issue, since I don't use them.  Since you said you're "computer challenged" I would probably just send an email to sony complaining about the problem.  They'll get in touch with Broadcom eventually (the manufacture of the drivers) and get the problem fixed.
    Side note: the Broadcom package is huge...  nearly 1GB in size.  Which is crazy.  I can't imagine what it does considering the size of it.  Entire operating systems can take up less storage.  Also, I have no idea how it starts an itunes plugin without placing it into the standard plugin directories.

Maybe you are looking for

  • Is there a way to speed up the "Java Loading" screen time?

    Hi. I'm having a big problem with that. I'm running the JRE 1.6u3 on Windows XP SP 2, on an AMD Athlon 64 X2 Dual 3800+ (2GB of RAM), and the "Java Loading" screen time of web started apps is too high (about 15 seconds when I just restarted the pc, a

  • How to get the instance id of BPEL in OSB

    We have the process in OSB which will invoke the BPEL ansync process and returns success once the BPEL is invoked. Can we refer/get the BPEL instance id in OSB by anymeans?

  • Can a Fn return a recordset?

    How do I have oracle store a SQL statement that can have params passed in, and have a recordset returned to user when executed? Is this done w/ a function? For example, I want to store the following code: create procedure/function/?? empname IDNum as

  • WIndows IME in JAVA Component

    I am using Windows IME for HIndi input but I get only ? in my JAVA components.PLease help

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/i18n/text

    Hi All I am using XSLT transformation in JDeveloper with the following code but getting exception. How to avoid using Oracle XSLT processor which looks incomplete ? TransformerFactory factory = TransformerFactory.newInstance(); Transformer transforme