Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
-
None
Description
UIData.isAllChildrenAndFacetsValid() resets the rowindex to -1 which prevents x:columns component to work right. The example application for the crosstable doesn´t work when a new column is added or the values are modified.
Here is a fix which will set the rowindex to it´s previous value:
Index: UIData.java
===================================================================
RCS file: /home/cvspublic/incubator-myfaces/src/jsfapi/javax/faces/component/UIData.java,v
retrieving revision 1.30
diff -u -r1.30 UIData.java
— UIData.java 24 Mar 2005 16:46:02 -0000 1.30
+++ UIData.java 7 Apr 2005 09:47:28 -0000
@@ -627,6 +627,7 @@
+ int setRowIndex = getRowIndex();
try
finally
{ - setRowIndex(-1); + setRowIndex(setRowIndex); } return true;
}