在 h:button 上使用 styleClass 时抛出 jsf 错误

问题描述 投票:0回答:0
我是 jee dev 新手,一切正常在其他 div 元素上很好,但只有在与 h:button 一起使用时才会抛出错误:

<h:button value="S'incrire" styleClass="btn btn--main btn--outline" outcome="/views/login/signup.xhtml"/>

是什么导致了这些类型的错误?

我尝试将样式应用于 h:button 元素,该样式适用于同一页面中的其他元素,但应用于 h:button 元素时则不然,tomcat 服务器会抛出错误 404

java css jsf
© www.soinside.com 2019 - 2024. All rights reserved.