ICEfaces
  1. ICEfaces
  2. ICE-5815

Compat: Override UIData.visitTree() method in ice.UISeries.visitTree() to work-around JSF 2 check for UIColumn

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Beta1, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2 compat components based on UISeries
    • Affects:
      Compatibility/Configuration

      Description

      After analysis of the root cause of the failure in ICE-5790 it has become apparent that in JSF 2 they have changed the implementation of the UIData.visitTree() method to discriminate for UIColumn child components. This new test breaks many of our ICEfaces 1.x components based on ice.UISeries.

      The suggested workaround is to override the visitTree() method in our ice.UISeries class to implement a version of the JSF2 UIData.visitTree() logic that also works for none-UIColumn child components.

        Issue Links

          Activity

          Hide
          yip.ng added a comment - - edited

          Done. See screenshot-1 for the gist of the changes. visitTree() is public, but the changes are not in visitTree(), they are in a private method called by visitTree(). visitTree() also calls other private methods as well. All these private methods have to be copied over to UISeries as well as visitTree() itself.

          Show
          yip.ng added a comment - - edited Done. See screenshot-1 for the gist of the changes. visitTree() is public, but the changes are not in visitTree(), they are in a private method called by visitTree(). visitTree() also calls other private methods as well. All these private methods have to be copied over to UISeries as well as visitTree() itself.
          Hide
          yip.ng added a comment -

          Updated to use UIData code from Mojarra version 2.1.3. See ICE-7185 for details.

          Show
          yip.ng added a comment - Updated to use UIData code from Mojarra version 2.1.3. See ICE-7185 for details.

            People

            • Assignee:
              yip.ng
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: