Author: konstantin.mishin
Date: 2009-07-17 14:46:55 -0400 (Fri, 17 Jul 2009)
New Revision: 14961
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
Log:
RF-3902
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
===================================================================
---
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2009-07-17
17:46:10 UTC (rev 14960)
+++
branches/community/3.3.X/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2009-07-17
18:46:55 UTC (rev 14961)
@@ -101,6 +101,8 @@
private int reqRowsCount = -1;
+ private transient boolean keepSaved;
+
private String scrollPos;
private SortListener sortListener;
@@ -366,7 +368,7 @@
setFirst(e.getFirst());
reqRowsCount = e.getRows();
-
+ keepSaved = true;
getFacesContext().renderResponse();
}
@@ -527,4 +529,9 @@
public void setRowKeyConverter(Converter rowKeyConverter) {
super.setRowKeyConverter(rowKeyConverter);
}
+
+ @Override
+ protected boolean keepSaved(FacesContext context) {
+ return keepSaved || super.keepSaved(context);
+ }
}
Show replies by date