AnsweredAssumed Answered

Language variable inside webscripts

Question asked by msvoren on May 20, 2011
Latest reply on May 20, 2011 by msvoren
Is it possible to reach language setting from a webscript?

When logging to alfresco, you pick a language, then it can be accessed inside JSP with:

FacesContext fc = FacesContext.getCurrentInstance();
String selectedLanguage = String.valueOf(Application.getLanguage(fc));

Can I, somehow, get this information inside webscript?

Any way to include this piece of JSP in FTL ?