ICEfaces
  1. ICEfaces
  2. ICE-5987

Add support for "blockUIOnSubmit" feature to ICEfaces 2 for double-submit protection

    Details

    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      We implemented a UI blocker feature in ICEfaces 1.8 to allow application developers the ability to block mouse and key events generated by the user while a submit was in progress to help prevent double submits from occurring, and to provide the user with visual feedback that the application was "busy" and to wait to before interacting with it.

      We need to introduce this feature to ICEfaces 2.

      .

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Salesforce Case []
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Summary Port UI blocker feature that protects against double-submit. Add support for "blockUIOnSubmit" feature to ICEfaces 2 for double-submit protection
          Issue Type Improvement [ 4 ] New Feature [ 2 ]
          Salesforce Case []
          Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
          Description We implemented a UI blocker feature in ICEfaces 1.8 to allow application developers the ability to block mouse and key events generated by the user to help prevent double submits. We need to port this feature to ICEfaces 2 We implemented a UI blocker feature in ICEfaces 1.8 to allow application developers the ability to block mouse and key events generated by the user while a submit was in progress to help prevent double submits from occurring, and to provide the user with visual feedback that the application was "busy" and to wait to before interacting with it.

          We need to introduce this feature to ICEfaces 2.

          .
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0-Beta2 [ 10242 ]
          Hide
          Ken Fyten added a comment -

          Consideration should be given to the suggestion that this feature also be configurable either on a per-component or per-region basis, as indicated by ICE-5817. Ideally this could be done without req. specific attributes on each component, perhaps with a container tag or component that would indicate the block UI on Submit status for the contained components. Not sure if the existing ice:config tag could also be used for this, or both.

          Show
          Ken Fyten added a comment - Consideration should be given to the suggestion that this feature also be configurable either on a per-component or per-region basis, as indicated by ICE-5817 . Ideally this could be done without req. specific attributes on each component, perhaps with a container tag or component that would indicate the block UI on Submit status for the contained components. Not sure if the existing ice:config tag could also be used for this, or both.
          Ken Fyten made changes -
          Link This issue blocks ICE-5817 [ ICE-5817 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #22417 Fri Sep 24 08:57:20 MDT 2010 mircea.toma ICE-5987 Implemented UI blocking to avoid double submit. The feature can be enabled using context parameters or ice:config configuration tag.
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/ConfigHandler.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/build.javascript.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
          Commit graph MODIFY /projects/bridge-support/src/main/javascript/oo.js
          Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/javascript/blockui.js
          Hide
          Mircea Toma added a comment -

          Implemented UI blocking to avoid double submit. An iframe element is overlaid on top with its area covering the entire page. This avoids any any mouse interaction. Also the onkey*** event handlers are disabled during the form submission to avoid any keyboard based interaction.
          The feature is configurable either through the 'org.icefaces.blockUIOnSubmit' context parameter or it through ice:config tag, 'blockUIOnSubmit' attribute.
          ice:config configuration overrides the value defined in the context parameter.

          Show
          Mircea Toma added a comment - Implemented UI blocking to avoid double submit. An iframe element is overlaid on top with its area covering the entire page. This avoids any any mouse interaction. Also the onkey*** event handlers are disabled during the form submission to avoid any keyboard based interaction. The feature is configurable either through the 'org.icefaces.blockUIOnSubmit' context parameter or it through ice:config tag, 'blockUIOnSubmit' attribute. ice:config configuration overrides the value defined in the context parameter.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: