ICEfaces
  1. ICEfaces
  2. ICE-4203

Support optional "busy" indicator + UI blocker when waiting for response from a submit

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Need to provide an easy-to-use mechanism to prevent ICEfaces app. users from sending multiple submits/partialSubmits to the server concurrently as this can cause application and/or user UI issues with some applications.

      This can be provided by adding an optional feature to the bridge that would perform the following:

      - As a call to submitFull() or submitPartial() is made the bridge will:
         1. Set the cursor/pointer to an hourglass
         2. Display a semi-transparent DIV over the current application UI, similar to the technique used by the modal dialog, but less opaque. The intention is to provide a subtle visual indication that the application is busy and also to prevent user interaction with the application via mouse.

      - Once a response for the submit is received (or timed out, etc):
         1. Remove/hide the semi-transparent DIV.
         2. Restore the cursor/pointer to it's original shape (or to a pointer if that's impossible).


      This feature can be enabled via a new config. param "com.icesoft.faces.blockUIWhenBusy", or maybe "com.icesoft.faces.blockUIOnSubmit".

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18750 Mon Apr 06 03:13:21 MDT 2009 mircea.toma ICE-4203 Integrate fixes.
          Files Changed
          Commit graph MODIFY /projects/bridge2/src/status.js
          Commit graph MODIFY /projects/bridge2/src/connection.async.js
          Commit graph MODIFY /projects/bridge2/src/application.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18593 Tue Mar 17 05:18:41 MDT 2009 mircea.toma ICE-4203 Render hourglass in IE while submit occurs.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/status.js
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/WaitCursorPage.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceServer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18592 Mon Mar 16 18:55:41 MDT 2009 mircea.toma ICE-4203 Added back the overlay. Fix issue with IE7.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/status.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18579 Mon Mar 16 03:55:22 MDT 2009 mircea.toma ICE-4203 Block interim submits by default.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18578 Mon Mar 16 03:49:11 MDT 2009 mircea.toma ICE-4203 Stop rendering the overlay.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/status.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18555 Fri Mar 13 09:04:44 MDT 2009 mircea.toma ICE-4203 Block UI and ignore following events during a submit/apply-update cycle. Enable functionality through "com.icesoft.faces.blockUIOnSubmit" context parameter.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/status.js
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.js

            People

            • Assignee:
              Unassigned
              Reporter:
              Ken Fyten
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: