ICEfaces
  1. ICEfaces
  2. ICE-4975

BlockUIOnSubmit does not prevent keyboard interaction

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      -
    • Workaround Exists:
      Yes
    • Workaround Description:
      One possibility would be to use javascript to detect and swallow enter key events.

      Description

      The BlockUIOnSubmit parameter will prevent mouse interaction with the application but does not disable keyboard input and can potentially cause double form submits. Here are the steps required to reproduce the issue in the attached test case:

      1. Tab through the form to a command button
      2. Use the mouse to click on the button which will render the BlockUIOnSubmit's transparent div
      3. Using the keyboard, hit enter and notice that the commandButton is again fired (through system.outs in the server console).

      The test case is ready for deployment on tomcat 6.

       

        Issue Links

          Activity

          Tyler Johnson created issue -
          Tyler Johnson made changes -
          Field Original Value New Value
          Salesforce Case [5007000000A6qGP]
          Tyler Johnson made changes -
          Attachment SC8672.war [ 12012 ]
          Ken Fyten made changes -
          Fix Version/s 1.8.3 [ 10211 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-4308 [ ICE-4308 ]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Tyler Johnson
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: