Author: nbelaevski
Date: 2007-10-26 20:54:21 -0400 (Fri, 26 Oct 2007)
New Revision: 3578
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/state/TreeState.java
Log:
http://jira.jboss.com/jira/browse/RF-1239
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/state/TreeState.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/state/TreeState.java 2007-10-26
18:50:55 UTC (rev 3577)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/state/TreeState.java 2007-10-27
00:54:21 UTC (rev 3578)
@@ -22,6 +22,7 @@
package org.richfaces.component.state;
import java.io.IOException;
+import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
@@ -41,7 +42,13 @@
* @author Nick Belaevski - nbelaevski(a)exadel.com created 23.11.2006
*
*/
-public class TreeState implements DataComponentState, TreeStateCommandsListener,
StateHolder {
+public class TreeState implements DataComponentState, TreeStateCommandsListener,
StateHolder, Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 9083705369340888171L;
+
private final class Visitor implements DataVisitor {
private TreeRowKey key;
private UITree tree;
@@ -99,6 +106,10 @@
private Set queuedCollapsedNodes = new HashSet();
+ public TreeState() {
+ super();
+ }
+
public TreeState(boolean stopInCollapsed) {
super();
this.stopInCollapsed = stopInCollapsed;