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

          Mircea Toma created issue -
          Hide
          Mircea Toma added a comment -

          Added reference to parent issue.

          Show
          Mircea Toma added a comment - Added reference to parent issue.
          Mircea Toma made changes -
          Field Original Value New Value
          Link This issue blocks ICE-7768 [ ICE-7768 ]
          Hide
          Mircea Toma added a comment - - edited

          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.

          Show
          Mircea Toma added a comment - - edited 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.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Mircea Toma [ mircea.toma ]
          Fix Version/s 3.4 [ 10770 ]
          Resolution Fixed [ 1 ]
          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
          Mircea Toma made changes -
          Summary Handle new JSF 2.2 view state key frormat Handle new JSF 2.2 view state key format
          Ken Fyten made changes -
          Fix Version/s EE-3.3.0.GA [ 10572 ]
          Ken Fyten made changes -
          Fix Version/s 4.0 [ 11382 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: