Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      browser
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Most of the elements that can receive focus will loose it again once updated via DOM update. The focus retention feature needs to track currently focused element and re-apply it after an update is applied.

      Note that focus-retention is already implemented in the compat libs (see ICE-5009), so perhaps it could be pulled out to implemented in the IF 2.0 bridge and be present with/without compat being present.

        Issue Links

          Activity

          Mircea Toma created issue -
          Mircea Toma made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 2.0-Beta [ 10231 ]
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Salesforce Case []
          Assignee Priority P3
          Ken Fyten made changes -
          Fix Version/s 2.0-Beta2 [ 10242 ]
          Fix Version/s 2.0-Beta1 [ 10231 ]
          Mark Collette made changes -
          Link This issue blocks ICE-5835 [ ICE-5835 ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P3 P2
          Description Most of the elements that can receive focus will loose once updated. The focus retention feature needs to track currently focused element and re-apply it after an update is applied. Most of the elements that can receive focus will loose it again once updated via DOM update. The focus retention feature needs to track currently focused element and re-apply it after an update is applied.

          Note that focus-retention is already implemented in the compat libs (see ICE-5009), so perhaps it could be pulled out to implemented in the IF 2.0 bridge and be present with/without compat being present.
          Ken Fyten made changes -
          Assignee Priority P2 P1
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #22371 Fri Sep 17 04:52:38 MDT 2010 mircea.toma ICE-5881 Moved focus retention out of 'compat' into 'core'. Change compat focus retention API to be backed b the new 'core' API.
          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/util/DOMUtils.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/build.javascript.xml
          Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/javascript/focus.js
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/util/CoreComponentUtils.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/submit.js
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/context/CompatDOMPartialViewContext.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/context/effects/JavascriptContext.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelcollapsible/PanelCollapsibleRenderer.java
          Commit graph DEL /icefaces2/trunk/icefaces/compat/core/src/main/javascript/focus.js
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/compat.js
          Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/build.javascript.xml
          Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/FocusController.java
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/submit.js
          Hide
          Mircea Toma added a comment -

          Moved focus retention out of 'compat' into 'core'. Introduced org.icefaces.util.FocusController API to maintain and control focus. Changed 'compat' focus retention API to be backed b the new 'core' API.

          Show
          Mircea Toma added a comment - Moved focus retention out of 'compat' into 'core'. Introduced org.icefaces.util.FocusController API to maintain and control focus. Changed 'compat' focus retention API to be backed b the new 'core' API.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.)]
          Resolution Fixed [ 1 ]
          Mircea Toma made changes -
          Link This issue is duplicated by ICE-5802 [ ICE-5802 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1

            People

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

              Dates

              • Created:
                Updated:
                Resolved: