Author: abelevich
Date: 2007-05-31 13:20:44 -0400 (Thu, 31 May 2007)
New Revision: 961
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
Log:
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-05-31
13:37:13 UTC (rev 960)
+++
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-05-31
17:20:44 UTC (rev 961)
@@ -51,8 +51,18 @@
private ScrollableGridVisualModel visualModel;
+ private Collection responseData = new ArrayList();
+
+ public Collection getResponseData() {
+ return responseData;
+ }
+
+ public void setResponseData(Collection responseData) {
+ this.responseData = responseData;
+ }
+
protected DataComponentState createComponentState() {
return new DataComponentState(){
@@ -172,11 +182,12 @@
public Object saveState(FacesContext context) {
- Object values[] = new Object[4];
+ Object values[] = new Object[5];
values[0] = super.saveState(context);
values[1] = _requestedRows;
values[2] = _startRow;
values[3] = _dataIndex;
+ values[4] = responseData;
return (Object)values;
@@ -189,6 +200,7 @@
_requestedRows = (Integer)values[1];
_startRow = (Integer)values[2];
_dataIndex = (Integer)values[3];
+ responseData = (Collection)values[4];
}
Show replies by date