I'm developing primefaces portlets on Liferay.
Setting a theme for a portlet seems to be easy. : You include a yourTheme.jar in WebInf/lib, and define :
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>yourTheme</param-value>
</context-param>
in your web.xml
But what I would prefer to do, would be setting that theme for all the PrimeFaces portlets, in one central point (like a custom portal theme or some portal property). So that it effects the whole portal, not each individual portlet. What should be the best way to do that ?
Thanx!
I'm Using: Liferay 6.1.0 ce ga1. Primefaces 3.5 Jsf 2.1.3