ICEfaces
  1. ICEfaces
  2. ICE-9247

Handle new JSF 2.2 view state key format

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      ICEfaces needs to be modified so that it can handle the new format for the view state keys introduced in JSF 2.2. During an AJAX partial update ICEfaces needs to generate view state updates that correspond to each form included in the page.
      The new format for now looks like:
      view root client ID + separator + javax.faces.ViewState + separator + form counter

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34893 Wed May 08 12:15:25 MDT 2013 mircea.toma ICE-9247 Modified DOMPartialViewContext.renderState method to adapt its behaviour based on the JSF version. For version higher that 2.2 the view state updates will use the new format required by JSF. Also, modified the JS code in the bridge to seamlessly handle any handling of the view state key, regardless of their format.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/submit.js

            People

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

              Dates

              • Created:
                Updated:
                Resolved: