ICEfaces
  1. ICEfaces
  2. ICE-5009

Port focus retention into Glimmer "compat" code base

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha1
    • Fix Version/s: 2.0-Alpha2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      compat

      Description

      Focus retention needs to be ported into "compat" since many components rely on this feature. It's assumed that the feature is provided by the framework.

        Issue Links

          Activity

          Mircea Toma created issue -
          Mircea Toma made changes -
          Field Original Value New Value
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Salesforce Case []
          Fix Version/s 2.0 [ 10032 ]
          Ken Fyten made changes -
          Fix Version/s 2.0-Alpha1 [ 10213 ]
          Fix Version/s 2.0-Beta [ 10032 ]
          Affects Version/s 2.0-Alpha1 [ 10213 ]
          Affects Version/s 2.0-Beta [ 10032 ]
          Ken Fyten made changes -
          Fix Version/s 2.0-Alpha2 [ 10214 ]
          Fix Version/s 2.0-Alpha1 [ 10213 ]
          Adnan Durrani made changes -
          Link This issue blocks ICE-5108 [ ICE-5108 ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Hide
          Adnan Durrani added a comment -

          The Compat components are using the JavascriptContext.applicationFocus(..) and JavascriptContext.focus(..) API, which then sends the Ice.Focus.setFocus() request to the client, but Focus object is not defined in Glimmer bridge.

          Show
          Adnan Durrani added a comment - The Compat components are using the JavascriptContext.applicationFocus(..) and JavascriptContext.focus(..) API, which then sends the Ice.Focus.setFocus() request to the client, but Focus object is not defined in Glimmer bridge.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20068 Mon Dec 21 16:09:02 MST 2009 mircea.toma ICE-5009 Port focus related Javascript code into compat/core. Implement former BridgeFacesContext.getFocusId as utility method. Collate all compat Javascript code into one file at build time. Make public only functions used directly by components.
          Files Changed
          Commit graph DEL /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/icesubmit.js
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/build.javascript.xml
          Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/javascript/compat.js
          Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/javascript/submit.js
          Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/javascript/focus.js
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/context/effects/JavascriptContext.java
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/util/CoreComponentUtils.java
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/application/ExtrasSetup.java
          Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/javascript/status.js
          Hide
          Mircea Toma added a comment -

          Port focus related Javascript code into compat/core. Implement former BridgeFacesContext.getFocusId as utility method. Collate all compat Javascript code into one file at build time. Make public only functions used directly by components.

          Show
          Mircea Toma added a comment - Port focus related Javascript code into compat/core. Implement former BridgeFacesContext.getFocusId as utility method. Collate all compat Javascript code into one file at build time. Make public only functions used directly by components.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-5106 [ ICE-5106 ]
          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:
              Mircea Toma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: