AnsweredAssumed Answered

Facescontext null problem

Question asked by power on May 26, 2010

I am using one workflow , where I have used

AuthorityDAO authorityDAO = (AuthorityDAO) FacesContextUtils.getRequiredWebApplicationContext(context).getBean("authorityDAO");

When am creating new site in alfresco, workflow triggered. but problem is share is not getting facescontext  as we are not using Alfresco web-client.
Now we using alfresco share UI.

How to overcome this problem by getting same bean using other way???
can u please give me a way to do so?