Author: ilya_shaikovsky
Date: 2009-07-29 04:05:03 -0400 (Wed, 29 Jul 2009)
New Revision: 15033
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/java/org/richfaces/demo/extendedDataTable/ExtendedTableBean.java
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-7579
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/java/org/richfaces/demo/extendedDataTable/ExtendedTableBean.java
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/src/main/java/org/richfaces/demo/extendedDataTable/ExtendedTableBean.java 2009-07-29
07:52:07 UTC (rev 15032)
+++
branches/community/3.3.X/samples/richfaces-demo/src/main/java/org/richfaces/demo/extendedDataTable/ExtendedTableBean.java 2009-07-29
08:05:03 UTC (rev 15033)
@@ -17,7 +17,7 @@
public class ExtendedTableBean {
private String sortMode="single";
private String selectionMode="multi";
-
+ private Object tableState;
private ExtendedTableDataModel<Capital> dataModel;
private List<Capital> capitals = new ArrayList<Capital>();
@@ -76,4 +76,12 @@
this.capitals = capitals;
}
+ public Object getTableState() {
+ return tableState;
+ }
+
+ public void setTableState(Object tableState) {
+ this.tableState = tableState;
+ }
+
}
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2009-07-29
07:52:07 UTC (rev 15032)
+++
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2009-07-29
08:05:03 UTC (rev 15033)
@@ -11,7 +11,7 @@
<h:panelGrid columns="2" columnClasses="top,top">
<rich:extendedDataTable value="#{extendedTableBean.capitalsDataModel}"
var="cap" id="table"
width="580px" height="400px"
sortMode="#{extendedTableBean.sortMode}"
- selectionMode="#{extendedTableBean.selectionMode}">
+ selectionMode="#{extendedTableBean.selectionMode}"
tableState="#{extendedTableBean.tableState}">
<rich:column sortable="false" label="Flag">
<f:facet name="header">
<h:outputText value="Flag"/>