Author: ppitonak(a)redhat.com
Date: 2010-09-14 10:27:49 -0400 (Tue, 14 Sep 2010)
New Revision: 19195
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JJSFunctionBean.java
Log:
* fixed bug that was causing reinitialization of bean after each request
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JJSFunctionBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JJSFunctionBean.java 2010-09-14
14:03:40 UTC (rev 19194)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JJSFunctionBean.java 2010-09-14
14:27:49 UTC (rev 19195)
@@ -27,7 +27,7 @@
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
-import javax.faces.bean.ViewScoped;
+import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;
import org.richfaces.component.UIFunction;
@@ -42,7 +42,8 @@
* @version $Revision$
*/
@ManagedBean(name = "a4jJSFunctionBean")
-@ViewScoped
+// cannot be view-scoped (see
https://jira.jboss.org/browse/RF-9287)
+@SessionScoped
public class A4JJSFunctionBean implements Serializable {
private static final long serialVersionUID = 48333649809L;