Author: ilya_shaikovsky
Date: 2010-11-05 07:46:40 -0400 (Fri, 05 Nov 2010)
New Revision: 19946
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/model/NamedNode.java
Log:
https://jira.jboss.org/browse/RF-9656
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java
===================================================================
---
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java 2010-11-05
11:39:02 UTC (rev 19945)
+++
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java 2010-11-05
11:46:40 UTC (rev 19946)
@@ -28,9 +28,9 @@
import java.util.Map;
import javax.annotation.PostConstruct;
+import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
-import javax.faces.bean.SessionScoped;
import javax.swing.tree.TreeNode;
import org.richfaces.demo.tree.model.CD;
@@ -43,7 +43,7 @@
*
*/
@ManagedBean
-@SessionScoped
+@ApplicationScoped
public class TreeBean implements Serializable {
@ManagedProperty(value = "#{cdsParser.cdsList}")
private List<CDXmlDescriptor> cdXmlDescriptors;
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/model/NamedNode.java
===================================================================
---
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/model/NamedNode.java 2010-11-05
11:39:02 UTC (rev 19945)
+++
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tree/model/NamedNode.java 2010-11-05
11:46:40 UTC (rev 19946)
@@ -1,6 +1,8 @@
package org.richfaces.demo.tree.model;
-public class NamedNode {
+import java.io.Serializable;
+
+public class NamedNode implements Serializable{
private String type;
public String getType() {