]> git.mxchange.org Git - jfinancials-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:24:19 +0000 (20:24 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 24 Aug 2017 18:24:19 +0000 (20:24 +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/jfinancials/beans/business/basicdata/FinancialsAdminBusinessDataWebRequestBean.java

index 155a2c964b3371758a31d6318a88a96a31480015..41f8f424d42802e79d320a07e5260ebce4b60483 100644 (file)
@@ -17,7 +17,7 @@
 package org.mxchange.jfinancials.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.jusercore.model.user.User;
  * @author Roland Häder<roland@mxchange.org>
  */
 @Named ("adminBusinessDataController")
-@SessionScoped
+@RequestScoped
 public class FinancialsAdminBusinessDataWebRequestBean extends BaseFinancialsController implements FinancialsAdminBusinessDataWebRequestController {
 
        /**