From 05e701ca5b4fceb1e256fb0e8ae6f7d991ec9c7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 24 Aug 2017 20:25:21 +0200 Subject: [PATCH] Must be RequestScoped annotated as it is an administrative bean (project convention). Only the "regular" (non-administrative) beans (except bean helper) may be annotated with SessionScoped. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../basicdata/PizzaAdminBusinessDataWebRequestBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java index ad027ee0..83db9404 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java @@ -17,7 +17,7 @@ package org.mxchange.pizzaapplication.beans.business.basicdata; import javax.annotation.PostConstruct; -import javax.enterprise.context.SessionScoped; +import javax.enterprise.context.RequestScoped; import javax.faces.view.facelets.FaceletException; import javax.inject.Named; import javax.naming.Context; @@ -36,7 +36,7 @@ import org.mxchange.pizzaapplication.beans.BasePizzaController; * @author Roland Häder */ @Named ("adminBusinessDataController") -@SessionScoped +@RequestScoped public class PizzaAdminBusinessDataWebRequestBean extends BasePizzaController implements PizzaAdminBusinessDataWebRequestController { /** -- 2.39.5