ICEfaces
  1. ICEfaces
  2. ICE-11383

Fix partial submit issued from a different view that the one rendered

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2, EE-4.2.0.GA, EE-3.3.0.GA_P05
    • Fix Version/s: 4.3, EE-3.3.0.GA_P06
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      When a partial submit is issued from one view but the rendered view is different the old document used to calculate the differences in the page is null.
      ICEfaces is normally expecting to generate a diff within the same view, not two different views, even if they both contain the same (expected to be rendered) components. This is an ICEfaces limitation. In the past we discussed the possibility of keeping the previous/old DOM in the window scope, which is the natural way, but at the time of discussion the window scope was not mature enough.

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Fix Version/s 4.3 [ 13096 ]
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52251 Thu Jan 25 14:35:46 MST 2018 mircea.toma ICE-11383 Account for the old document being null and generate updates for the fragments pointed to by the 'javax.faces.partial.render' parameter.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/PropagatingNavigationHandler.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/test.xml
        Hide
        Mircea Toma added a comment - - edited

        Account for the old document being null and generate updates for the fragments pointed to by the javax.faces.partial.render parameter.

        Applied changes to 3.3 maintenance and 4.* trunk.

        Show
        Mircea Toma added a comment - - edited Account for the old document being null and generate updates for the fragments pointed to by the javax.faces.partial.render parameter. Applied changes to 3.3 maintenance and 4.* trunk.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Workaround Description Account for the old document to be null and generate updates for the fragments pointed to by the 'render' parameter. Account for the old document to be null and generate updates for the fragments pointed to by the 'javax.faces.partial.render' parameter.
        Mircea Toma made changes -
        Support Case References 00014233
        Mircea Toma made changes -
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: