6 Replies Latest reply on Oct 11, 2010 4:35 PM by Luca Becarelli

    FacesContext on ScopeType.SESSION @Startup is null

    Luca Becarelli Newbie

      i have a bean ScopeType.SESSION - @Startup ,
      if i access  from a

      @Create method

      to a

      protected FacesContext facesContext

      facesContext is null.

      If i access FacesContext from another method after the bean is initialized all is ok.

      Why FacesContext is null at @Startup ?