更新时间:2023-12-05 18:15:40
将 primefaces.THEME
上下文参数设置为 none
,您将获得一个没有样式的功能 ui.
Set primefaces.THEME
context parameter to none
and you'll get a functional ui with no styles.
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>none</param-value>
</context-param>
您无需花费数小时编辑样式.PrimeFaces 的样式通过诸如 ui-widget-header
、ui-widget-content
之类的共享样式完成,您可以通过 themeroller 网络表单.我认为 JSF 和主题化不会比 PrimeFaces 更容易.
You don't need to spend hours editing styles. Styling of PrimeFaces is done via shared styles like ui-widget-header
, ui-widget-content
which you can customize via the themeroller web form. I don't think JSF and theming can get any easier than PrimeFaces.