Author: ppitonak(a)redhat.com
Date: 2010-11-08 09:22:25 -0500 (Mon, 08 Nov 2010)
New Revision: 19992
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java
Log:
https://jira.jboss.org/browse/RF-9457
* fixed scope of bean
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java 2010-11-08
13:03:09 UTC (rev 19991)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java 2010-11-08
14:22:25 UTC (rev 19992)
@@ -30,7 +30,7 @@
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
-import javax.faces.bean.ViewScoped;
+import javax.faces.bean.SessionScoped;
import javax.swing.tree.TreeNode;
import org.richfaces.component.UITree;
@@ -49,7 +49,8 @@
* @version $Revision$
*/
@ManagedBean(name = "richTreeBean")
-@ViewScoped
+// cannot be view-scoped (see
https://jira.jboss.org/browse/RF-9287)
+@SessionScoped
public class RichTreeBean implements Serializable {
private static final long serialVersionUID = 4008175400649809L;