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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: