title: Primefaces and Liferay, set theme for the entire portal
body: <p>I'm developing primefaces portlets on Liferay.</p>
  
  <p>Setting a theme for a portlet seems to be easy. : You include a yourTheme.jar in WebInf/lib, and define :</p>
  
  <pre><code>&lt;context-param&gt;  
     &lt;param-name&gt;primefaces.THEME&lt;/param-name&gt;  
     &lt;param-value&gt;yourTheme&lt;/param-value&gt;  
  &lt;/context-param&gt;
  </code></pre>
  
  <p>in your web.xml</p>
  
  <p>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 ?</p>
  
  <p>Thanx!</p>
  
  <p>I'm Using:
  Liferay 6.1.0 ce ga1.
  Primefaces 3.5
  Jsf 2.1.3</p>