Author: abelevich
Date: 2010-03-31 11:12:11 -0400 (Wed, 31 Mar 2010)
New Revision: 16692
Modified:
root/ui-sandbox/trunk/components/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
Log:
remove iteration state saving methods
Modified:
root/ui-sandbox/trunk/components/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
===================================================================
---
root/ui-sandbox/trunk/components/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2010-03-31
11:56:19 UTC (rev 16691)
+++
root/ui-sandbox/trunk/components/tables/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2010-03-31
15:12:11 UTC (rev 16692)
@@ -29,7 +29,6 @@
import java.util.List;
import java.util.Map;
-import javax.faces.component.StateHelper;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
@@ -165,22 +164,4 @@
public void setSortMode(SortMode sortMode) {
getStateHelper().put(PropertyKeys.sortMode, sortMode);
}
-
- @Override
- public Object getIterationState() {
- Object stateObject = super.getIterationState();
- StateHelper stateHelper = getStateHelper();
- return new Object []{stateObject, stateHelper.get(PropertyKeys.first),
stateHelper.get(PropertyKeys.rows)};
- }
-
- @Override
- public void setIterationState(Object stateObject) {
- StateHelper stateHelper = getStateHelper();
- if (stateObject != null) {
- Object[] state = (Object[]) stateObject;
- super.setIterationState(state[0]);
- stateHelper.put(PropertyKeys.first, state[1]);
- stateHelper.put(PropertyKeys.rows, state[2]);
- }
- }
}
Show replies by date