AnsweredAssumed Answered

Read the config of the Advanced Search from a web service

Question asked by palba on Dec 20, 2010
Latest reply on Dec 21, 2010 by patil
Hi.

I need to check the config of the Advanced Search from a web service.

Outside the webservice i can do this:


AdvancedSearchConfigElement config = (AdvancedSearchConfigElement) Application
            .getConfigService(FacesContext.getCurrentInstance())
            .getConfig("Advanced Search")
            .getConfigElement(AdvancedSearchConfigElement.CONFIG_ELEMENT_ID);

But in a webservice FacesContext.getCurrentInstance() is allways null. So, anyone knows a workaround?

Thxs in advance

Outcomes