Author: maksimkaszynski
Date: 2007-08-30 13:04:47 -0400 (Thu, 30 Aug 2007)
New Revision: 2626
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
Log:
http://jira.jboss.com/jira/browse/RF-782
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
===================================================================
---
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2007-08-30
16:46:15 UTC (rev 2625)
+++
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2007-08-30
17:04:47 UTC (rev 2626)
@@ -370,4 +370,14 @@
public abstract String getSortMode();
public abstract void setSortMode(String mode);
+
+ /* (non-Javadoc)
+ * @see org.ajax4jsf.component.UIDataAdaptor#setRowIndex(int)
+ */
+ public void setRowIndex(int index) {
+ if (index < 0) {
+ setRowKey(null);
+ }
+ //super.setRowIndex(index);
+ }
}