AnsweredAssumed Answered

Help with FacesContext

Question asked by wass on Aug 30, 2011
Hello everyone,

i'm trying to get the instance of my FacesContext, but i only get it null.
here is the code that i'm using:
FacesContext context = FacesContext.getCurrentInstance();
ServiceRegistry serviceRegistry = Repository.getServiceRegistry(context);

edit: How can i create one beans wich could return me the FacesContext? i'm new do web developping and alfresco.


As i've said before, my context is always null and i dont know why.
anyone could explain me why, please?
What i should do to fix that?

Thanks & Regards

Outcomes