Prevent double click / double submit

Hi,
I have a JSP with some input fields and some command buttons within a form. When the user clicks twice on one of the buttons two requests (including the form data) are sent.
In the server side this results in unpredictable behvior of my business logic. So I decided to prevent these double clicks on buttons. Now I have the following question.
Are there ADF means to achive this or do I have to use JavaScript (what I wouldn't prefer)?
Thanks for you help.
Tom

Hi,
another option if using ADF Faces is to set the "blocking" property in a command button to true, which will make a double click impossible. This however, only prevents people from accidentally double submitting a request, not fom purposely doing it. For the latter usecase follow Shay's hint
Frank

Similar Messages

  • Internet Explorer allows double click on submit

    Im having a problem with my update and insert pages while using WindowsXP IE 7.
    The insert page will allow you to do multiple clicks on the insert/submit button. The insert button will not go grey after clicking on it. You can continue to click and you can hear the click click sound. After the double click(s), my Validate Form SB will tell me I have a duplicate User Name in the database. When I check, the insert has taken place. It does the first insert and then goes back to make the insert for the second click or the third or the fourth click.
    On my update page, I have a send e-mail SB. When you do a double click on this page, the page will send multiple e-mails. Itll send as many e-mail as you click.
    None of this happens in Safari or FireFox.
    I tried Disable Submit behavior but will not fix it: http://www.dmxzone.com/ShowDetail.asp?NewsId=7615
    I tried Submit Once and it didnt work either:
    http://www.kaosweaver.com/extensions/details.php?id=75&cid=3
    Is there a fix for Internet Explorer?
    Do I have to do some sort of JavaScript code just for IE (whats the code), seems like this should be part of the Toolbox.

    I have Microsoft Outlook also with Firefox and can open just about every link, url, company page, etc via the email links. First, make sure you have noted the email as NOT JUNK so that the links are activated by Outlook. Second, Firefox needs to your default browser for the links to open in Firefox rather than IE. There are some links from Microsoft that may ignore the default and open in IE but not all anymore. I have a Sony laptop which ignores the default browser and opens all of its support information from its VAIO software loaded on the computer in IE. Besides that though, over 95% of my items will open in my default brwser selection, which is currently Firefox.
    Go to this link to make sure Firefox is your default browser.
    http://support.mozilla.com/en-US/kb/How+to+make+Firefox+the+default+browser?s=Make+Firefox+the+default+browser+&as=s
    Or this link to make any browswer of your choice the default.
    http://www.chami.com/tips/internet/043099I.html
    Hope this helps.

  • Events will not open with double click/double click not working.

    Have just upgraded to iPhoto'11 and finding it a pain to use after previous iPhoto.  Events will not open with double click (even though highlighted in yellow) and photos will not open with double click or videos play.  How can we fix this please?

    That sounds very like an issue with your mouse/trackpad and not iPhoto. Go to your SystemPreferences and chck the speed you've set for double clicking
    Regards
    TD

  • How to prevent multiple clicks of submit buttons in OAF Pages

    Hi All,
    Our page takes around 30 seconds to 1 minute for processing.
    Some users are not patient enough. I have tried putting the below code in my PR method.
    OAWebBean body = pageContext.getRootWebBean();
        if (body instanceof OABodyBean)
        ((OABodyBean)body).setBlockOnEverySubmit(true);
    This code disables submit button for some time. After few seconds, the submit button can be clicked again by the user.
    Also, if I click on other browser window and come back to OAF page, the submit button can be clicked again immediately.
    Have also searched OAF forum but didn't find any satisfactory answer.
    Need answer from Oracle on this. If not answered on the forum, will raise an SR.

    Hi Amit,
    Try using the Processing Symbol , after clicking the Submit button. Which does shows you processing clock symbol once you click Submit Button.
    Regards
    Raghu

  • Captivate 8.0.1  iOS Systems (i-Phones and i-Pads) require double clicks to submit quiz answers and perform actions.  Why?

    Is this common?  I never noticed it before.  Is this something that got changed with Patch 8.0.1?  Was that patch supposed to do something else?

    Hi Bryan,
    We analyzed your content and we found that there is no issue while pressing submit for quiz slides in mobile devices.
    here is what we did:
         Once quiz slide is loaded we answer the question then press submit after that we get a success/failure caption which explains that we need to click anywhere to continue. We click on that caption and the progress continues, gradually moving to next slide.
    So at our end we are not getting any point where submit button need to be pressed twice before moving to next slide.
    I am using Iphone 5 and Ipad 2 for testing. The content is deployed in a webserver.
    Let me know the steps, by following which I can get to the issue that you mentioned in this post.
    Also we can have a connect meeting to figure out the issue at your end.
    Send the details regarding availability and timezone in which you fall-in, to my email id. I can initiate a meeting on the basis of that.
    Regards
    Shriyansh

  • Loading swf + double clicking = double load - crash

    Hello, help plz:
    Have a button assigned to loading an swf, if the button is
    pressed twice the swf reloads and crashes, probably reloads data
    together and dosnt recognize, web crashes and needs to be reload
    reloaded... any suggestions?
    thanks

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=196&threadid =1257695&enterthread=y
    this posting might help

  • How can you get your submit buttons to be a single click instead of the default double click?  (The

    How can you get your submit buttons on the quiz template to be a single click instead of the default double click?  (The option to choose double click or not is not showing in properties for this).

    Hmmm... Submit button doesn't need a double click at all. Maybe you are talking about the two-step process? When you click on Submit, the feedback appears with the message to click anywhere or press Y. Is that what you are talking about? If you are talking about a real double-click, something must be wrong in your file. And which version are you using?
    http://blog.lilybiri.com/question-question-slides-in-captivate
    Lilybiri

  • Double Click handling with Submit Button

    Does a submitButton on the page automatically handle / block the user's double click action?
    I have an application where a submit button causes processing & commits to occur.
    I want to make sure that when the user "double-click" the button, it doesn't cause problems.
    Thanks

    Hi
    Does a submitButton on the page automatically handle / block the user's double click action?No it doesnot handles so..
    You can write the below code in processRequest method of your controller to disable the button till the moment processing is going on,After processing completes you can again click submit button.
    OAWebBean body = pageContext.getRootWebBean();
    if(body instanceof OABodyBean)
    ((OABodyBean)body).setBlockOnEverySubmit(true);
    }Please refer to this article for more details
    http://mukx.blogspot.com/2009/12/blocking-user-on-submit-action-in-oaf.html
    Moreover,if you want to disable the button after first click then on click of get an event redirect it to same page and make it disabled or use Partial page rendering for this.
    Thanks
    AJ

  • Prevent Double click in Document Flow

    Hello,
    We have a need in our project to restrict certain users from veiwing price in Sales Documents. We have achived this by using various exits and hiding the price. But we have a problem regarding the Document flow. When the user clicks on the document flow and then double clicks on a line indicating a Sales Document, the price is shown in an ALV display. Is there anyway to prevent this?
    Thanks in advance for your help
    Best Regards
    Anirban

    Hey Anirban,
    The same requirement we have done.
    First we used some exists to hide th price but does not go well.
    Finally we did using SHD0.
    We created a transaction varaint  by removing the conditions tab from the screen and added new tcode ZVA0* (1,2,3). Who ever the user uses the ZVA0* will not be able to see the price from anywhere .
    Regards,
    Vvieks

  • "Check Names: Microsoft Outlook does not recognize '1. double click the attachment'" submit error

    I have seen this question/issue on multiple forums and nobody seems to have an answer/fix yet.  I included an e-mail submit button for my form, and when I practice submitting, everything sends fine.  However, if I distribute the form (to allow for tracking, etc.) I get an error pop-up window that reads "Check names"  "Microsoft Outlook does not recognize '1. double click the attachment'".  What I mostly don't understand is "1. double click the attachment" is part of the directions/content in the e-mail after they actually, successfully submit the form.  Why is the content auto-populating as part of the mailing address??  After you "Show More Names" and search for the correct recipient(s), you have the same error pop-up again with the 2nd step that's show in the content of the e-mail: "2. Acrobat will prompt you to select a responses file", until you select the recipients again by clicking "show more names".  Then the e-mail populates, with "Completed Form&body=Instructions to add this form to a responses file: [email protected]?subject=Submitting" as a recipient, as well as the 2 recipients you had to search for.
    Does anybody know why this happens and how to fix it!?

    We are having the same issue of trying to send a Shared Review from Adobe Pro XI and getting a error. We are currently using Outlook 2010. Hope someone from Adobe support can answer this issue and other Shared Review issues that are related in nature.

  • Preventing Double Click on Link in List

    Hello folks,
    APEX 4.1
    I'm supporting an application right now (which I didn't build I should add), which contains a navigation list entry which triggers an insert into a table (via a before header process fired by a request value which is set when the link is clicked.
    I've had a look through the forum's search function for references to "links", "clicks", "double clicks" and "Disabled" and came up with lots of suggestions regarding disabling a button and links in reports, but nothing for links from navigation lists:
    e.g. {thread:id=9405085}
    Note that some of the example suggest using the javascript pseudo-protocol. I want to avoid that method at all costs.
    Rather than verbosely explain the problem, I've set up a demo page on apex.oracle.com to demonstrate it:
    Workspace: JC_DEMO
    Username: DEMO_USER
    password: demo
    the pages in question are 9999 and 10000.
    (p.s. I knocked this example up as fast as I could - the app hasn't been done to my usual standards! :-) )

    Okay I've solved this, or at least I've provided a solution to this particular problem on my "real" app - will amend the test case accordingly in due course but thought I'd share it on this thread anyway.
    1) List Template: I took a copy of the existing List template and edited it. Under the "Sub List Entry" section, I amended both the "Sub List Template Current" and "Sub List Template Noncurrent" entries to the following:
    <li><a class="#A02#" href="#LINK#">#TEXT#</a></li>In other words, I added a reference to "User Attribute No.2" (#A02#). The reason I used A02 is due to having already used A01 already for something else. Don't be too concerned about this.
    2) List: I amended the "List Template" of my list to point at the amended template from step 1. Note also that my list is referenced in a list region on page Zero.
    3) List Entry: I amended the list entry I wanted to disable double-clicks, Adding the following text to the 2nd entry in the "User Defined Attributes" section:
    single_clickFrom step 1, you should note that this has the effect of adding the class "single_click" to the list entry. "single_click" is not referenced in any of my CSSs incidentally.
    4) Page Ready Javascript: On Page Zero, I have a "Before Footer" region called "Page Ready Javascript", into which I put javascript that I want executed on page ready. The basic template for this region is as follows:
    <script>
       try{
          $(function() {
          /* code you want to execute */
       catch(e){
         /* error catching code */
    </script>Within the page ready function (starting with '$'), I have the following code:
    $(".single_click").click( function(){
        window.location = $(this).attr('href');
        $(this).unbind('click'); /* do this because .click adds to the existing click event */
        $(this).click( function(){
           return false;
        return false;
      });Note that I'm using the "single_click" class as my jquery selector. The result of all of this is that, if you click on the relevant link in my navigation list, no matter how many times you do, it will only request the page once.
    Already I can see a few things I'm not happy about but its at least a reasonable starting point. Comments/critiques welcome.

  • Rh10 - HTML Help - linking to pdf shows when generate CHM and 'view results' but not when double-click on CHM in project folder or in product help

    I have several PDFs in Baggage Files that are linked to topics in the Table of Contents.  When I generate the CHM file and 'View Results' I am able to pull up/access the PDFs with no problem.  When I go into the project folder and just double-click on the CHM file, I cannot pull up/access any of the PDFs nor can I access them in the product help.  Any ideas?  Is a setting "off" somewhere in my project?
    I am using RoboHelp 10.
    Thanks!

    eeddings wrote:
    Thanks for the idea, but I can't switch the project to WebHelp.  This .chm project consists of a master project with 18 slave projects and a slew of remote jumps.  I'd have to recreate all of the remote jumps if I switch to WebHelp.
    Hopefully Adobe can fix this issue.
    Well, first off, even though it would be WebHelp, it would be inside a CHM container. So for all intents and purposes it would be a CHM file. But having said that, I'm not sure there is a way to merge these hybrid types of CHM files.
    If your statement about Adobe fixing the issue is meaning that they can either remove the Print icon from the CHM Viewer, I wouldn't hold my breath because as I said, that's in Microsoft's lap and they haven't updated the CHM viewer in a long while. Doubtful they ever will.
    The only hope would then be for Adobe to update the code used for the Mini TOC. The only way that will happen is if enough folks submit this as a bug via the following link:
    http://www.adobe.com/go/wish
    Until that would happen, your likely best bet is to simply avoid using the Mini-TOC feature or just insert a warning that if the topic is printed, it will cause issues. Or, you could use bookmarks and links to establish your own verision of a "Mini-TOC"
    Cheers... Rick

  • SHORT DUMP DYNPRO_NOT_FOUND, DOUBLE CLICK ON OPERATION IN NETWORK GRAPHIC

    Dear Experts,
    I am getting shor dump error as DYNPRO_NOT_FOUND in transaction IA02 while double clicking on operation in newtwork graphic.
    I found SAPNOTE 397750 for releases SAP_APPL 46 and 46C. But we are using ECC 5.0 SAP_APPL 500.
    Please give the solution how to resolve this dump error.
    Thanks & Regards,
    Tushar

    Hi,
    there is no coding correction in the note, hence please compare the setting mentioned in the note with your system, if the entry does not exist, you might have to maintain it. otherwise, i am afraid you need to submit a OSS message regarding it.
    Regards
    Jane

  • Can't Alt+double click to open an image?

    hello:                                                                                                             Level: Newbie  Id:Cs6  Os:Win8
    i have read that Win8 is compatible with Id, Ps and Illy (i'm not sure about the other CC apps but i hope they are too)
    however, while following a vid tut by Terry White ~ he directed me to click on an image and to then hold the Alt key while double clicking to open it in full(er) view but when i did this the image opened in Windows Photo Gallery
    well, earlier i had gone to Default Programs and set Windows Photo Gallery as the default to open images ~ not knowing it would prevent Id from functioning or that it would override (apparently) everything else (yes, i am pretty new to OS's in general too) i did this b/c when i would go to my Pictures folders and click on an image to view it was opening in some AWEFUL program that depixelated (<is that a word?) /made my pics/images look just terrible.
    so, i called Microsoft and the man that was trying to help me said that i had to go to "Associate a File Type or Protocol with a Program" and then i had to choose Each and Every Single File Type (.png, .jpeg, .tiff etc etc) for Each and Every Application (Adobe or not) and "Associate" that File Type with the Application i need for it to open ... um ... caugh caugh ... just a moment .... SCREAM!! uh, what? Really?
    Dear goodness ... please say it ain't so!! please?? (lol)
    so, is this really the deal? or does anyone else think i may have been directed incorrectly?
    i went back to Default Programs to remove Windows Photo Gallery as the Default program but i am not seeing where that is an option.
    i totally understand this isn't help for Windows8 forum but IF anyone has experince w/it and is willing/able to help me out i would also greatly appreciate any advice you may be able to lend. i do plan to go run around the net after i'm done here to look for (a needle in a haystack) help in a Win8 forum (yikes & wo is me)
    oh, also the (nice) man at Microsoft couldn't tell me if i went ahead and did this rather Windows Photo Gallery would still open my Pictures or not or if it would return to that awful preview program i began with in the 1st place.
    this was my very 1st time using InDesign and i would really like to start learning it. does anyone know why i cannot Alt+2's click & then have the image open like it's suppose to? or even how i go about telling Windows8 to please let Id ALSO open the files the way it wants?
    sorry for such a long post. i have been through a nightmare episode just ordering my new laptop and now Win8 seems to be creating an entire season
    thanx so very much in advance for your time and efforts. i will also continue my quest for answers and should i find 'em i will certainly return to share and post links.

    hello peter
    thank you so much for asking as i am quite ready to send my laptop back to where it once came
    well, as i understand it there is a bug with the AMD Graphics card
    when i try to draw a shape, add a new layer, use the alt key to "cut" the line of the pen tool the canvas goes totally black and i cannot use the filters or the 3D tools. also, the bg area behind the canvas changes from dark grey to black to transparent
    all of the above are reasons why i saved for 3 yrs to buy a new laptop w/a decent graphics card and it's just totally bum'n me out
    if i understand correctly it's an issue between the AMD and Windows 8 ~ so as of now i am thinking i should either send it back or get rid of Win8 and install Win7 but actually now that i think of it i dunno if Win7 will correct the AMD issue or not but i think it would.
    at first i thought the issues were Adobe related and not as i seem to have found
    my laptop is a Satellite S875-S7376 the gpu is an AMD Radeon HD 7670M, the hard drive is 1TB, i7, and it has 8GB ram, 64bit, Windows 8
    i went to AMD's website and if i understand correctly there is a "fix" that is helping somewhat but NOT for Toshiba notebooks, Sony and Panasonic and AMD is no longer releasing updates every month but only when they feel they have good enough reason to do so.
    i've been unable to find an idea of when AMD thinks they'll have a fix for Toshiba and i've only got under 2 weeks to return this laptop
    i tried to install something called the AMD Catalyst or maybe it's ATI Catalyst Mobility but was told it could not be installed due to incompatible hardware/software on my computer
    i just wish i could get back to work and decide what would be the best thing for me to do
    i seem to be making some folks upset b/c i keep trying to chase down an answer/solution. for instance i didn't realize that the problem i am having is called Flickering and so i had posted again about it at photoshop.com and was given a lashing about how i was already told this and that.
    i was also told that the solution is to just set Photoshop to Basic Draw Mode ... but that is my whole point as i don't want to have to use Ps in Basic mode as the entire idea of investing in a better computer was to be able to enjoy the bells and whistles
    if you've got any ideas or you know of a solution or even if you've heard of one rolling on down the road i would greatly appreciate anything at all that you could share with me
    sorry if i ramble a bit much i'm just frustrated beyond the point of clarity
    thanx again so much for your time & efforts!!

  • Can't double click and add event in month view. HELP!

    For some strange reason, I can't double click to addevent on Ical Monthly view all of a sudden. Whenever I double click, nothing happens. Same thing happens on the year view.
    I can only add event now using the stupid + signs, or go into daily or weekly view. HELP!

    I have this problem too.  Just started today all of a sudden.  When I am in iCal on my Macbook, I double click - like I have been doing since ical was invented - and nothing happens, other than a quick "updating" message.  I tried clicking the "+" button but all it gives me is  "quick event" to add but nothing ever shows up in my iCal calendar on my mac.   When I log into to iCal in the Cloud - lo and behold! - I see dozens and dozens of "new event" entries all over my calendar!  What is going on and how can this be corrected?  At this point my computer's ICal program is basically now useless since I am prevented from adding anything to it. 

Maybe you are looking for

  • Need help badly. project file wont open. saying damaged file or may contain outdated elements. please help

    project file wont open. damaged file or contains outdated elements message. i believe its an XML error but i dont know how to fix it. please help

  • Pw file on different location

    Hello Every Body. I m using Windows XP Sp1 and oracle 9.2.0.1.0. I have some confusion regarding password file authentication when the password file is situated on any other location then default. I don't want to use OS authentication .. My SID name

  • Link only works in IE, not firefox or safari

    Here is the code... <br /> <br /> <span class="textbold">Appointments Online</span><br /> <br /> <a href="bbmd_doc_mailform.html">We are now accepting appointments online. Click here to schedule your next appointment.</a><br /> </p> <p class="text"> 

  • HP mini 1000 windows XP

    I'm happy with my HP Mini1000; however, I have been told that the operating system- Windows XP- will be off the market and extinct soon. Does anyone have any info on this, and if this is true, what are the options for replacing XP with sthg else? TY

  • Linux guy wants to install solaris 10 via nfs using centos as nfs server

    well in linux when installing this way I simply copy the dvd install image to an nfs share (or do mount -o loop "isoimage" /nfsmountdir), copy the boot.iso so a cdrom and do a "linux askmethod" during install and then specify the nfs server and dir.