Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
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.
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.
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.