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

    FacesContext on ScopeType.SESSION @Startup is null

    jblbecarelli

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


      @Create method


      to a


      @In
      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 ?


      bye