1 Reply Latest reply on Dec 10, 2008 12:30 AM by cerdiogenes

    Can't get identity from a SeamResourceServlet

    cerdiogenes

      Hi,


      I create a SeamResourceServlet as described in: http://seamframework.org/Documentation/ReplacingServletsWithSeamResources#H-ServingTheContentAsASeamResource


      and in my doWork method I have the following call:



      IdentityCustomizadaSadau identity = (IdentityCustomizadaSadau) Component.getInstance("identity", true);



      Identity is always null after this call. This was a new modification that I do to this method. I can access other Seam managed components in this method, like the entityManager. What can be wrong?


      Thanks,
      Carlos.