]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Must be RequestScoped annotated as it is an administrative bean (project
authorRoland Häder <roland@mxchange.org>
Thu, 24 Aug 2017 18:25:21 +0000 (20:25 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 24 Aug 2017 18:25:21 +0000 (20:25 +0200)
convention). Only the "regular" (non-administrative) beans (except bean helper)
may be annotated with SessionScoped.

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java

index ad027ee085b28946c67c10c3dbfdd082e682dfe9..83db940412aeaa0c37d66b5dc1a9ade053ce2f88 100644 (file)
@@ -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<roland@mxchange.org>
  */
 @Named ("adminBusinessDataController")
-@SessionScoped
+@RequestScoped
 public class PizzaAdminBusinessDataWebRequestBean extends BasePizzaController implements PizzaAdminBusinessDataWebRequestController {
 
        /**