1 Reply Latest reply on Nov 6, 2015 12:29 PM by shura16

    How to generating a Faces Context manually?


      I have a job of deltaspike and this needs the facescontext to obtain information from the web.xml and load freemarker templates.

      It is possible to generate a FacesContext? That alternatives I have ?.

      This is a question with the same situation with an example :

      nullpointerexception - CDI injection - NPE of FacesContext when using Deltaspike @scheduled - Stack Overflow