【发布时间】:2013-02-27 19:30:31
【问题描述】:
我正在 Liferay 上开发 primefaces portlet。
为portlet 设置主题似乎很容易。 :您在 WebInf/lib 中包含 yourTheme.jar,并定义:
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>yourTheme</param-value>
</context-param>
在您的 web.xml 中
但我更愿意在一个中心点为所有 PrimeFaces portlet 设置该主题(如自定义门户主题或某些门户属性)。这样它会影响整个门户,而不是每个单独的 portlet。最好的方法应该是什么?
谢谢!
我正在使用: Liferay 6.1.0 ce ga1。 Primefaces 3.5 jsf 2.1.3
【问题讨论】:
标签: jsf primefaces liferay-6 themeroller