ICEfaces
  1. ICEfaces
  2. ICE-8916

"blockUIOnSubmit=true" stops button press from firing Action event

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA_P01, 3.2, EE-3.2.0.BETA
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1

      Description

      This is the same issue that was reported in ICE-4308 but is with the ICEfaces 3 code base.

      The issue is that if an inputText field has focus and it has partialSubmit=true, clicking on a button while the input field has focus, the ui blocker will block this button click action.
      1. UIBlockerTest.zip
        18 kB
        Arran Mccullough
      2. UIBlockerTestWAR.zip
        9.32 MB
        Arran Mccullough

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33190 Wed Jan 23 18:15:34 MST 2013 mircea.toma ICE-8916 Avoid blocking subsequent submit when the first one is triggered by 'blur' event.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/blockui.js
        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Hide
        Arran Mccullough added a comment -

        Attached test case that shows issue.

        Steps:

        • Load welcomeICEfaces.jsf
        • Set focus to the input field.
        • Click the command button.
        • The command button action is blocked by the blur action of the input field.
        Show
        Arran Mccullough added a comment - Attached test case that shows issue. Steps: Load welcomeICEfaces.jsf Set focus to the input field. Click the command button. The command button action is blocked by the blur action of the input field.
        Arran Mccullough made changes -
        Attachment UIBlockerTest.zip [ 15374 ]
        Attachment UIBlockerTestWAR.zip [ 15375 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-3.2.0.GA [ 10332 ]
        Fix Version/s 3.3 [ 10370 ]
        Assignee Priority P1 [ 10010 ]
        Hide
        Mircea Toma added a comment -

        Introduced isBlurEvent function to detect when the submit is triggered by a 'blur' event (most probably a partial submit) to avoid blocking the following submit.

        Show
        Mircea Toma added a comment - Introduced isBlurEvent function to detect when the submit is triggered by a 'blur' event (most probably a partial submit) to avoid blocking the following submit.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Cruz Miraback added a comment -

        Confirmed fixed using ICEfaces EE 3.2.0 build3.

        Show
        Cruz Miraback added a comment - Confirmed fixed using ICEfaces EE 3.2.0 build3.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: