更新时间:2023-12-05 10:27:16
将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.