我们如何使用 html 5 按钮标签来执行 jsf 操作,例如。
去表演
<h:commandButton action="#{identity.login}" value="Login"/>
html 5 中的等价物是什么?
Try to write a custom facelet component to wrapper a html5 element yourself.
Another project, omnifaces provides html5 compatibility for current jsf components.
<input jsf:id="do-search-button" type="submit" jsf:action="#{searchController.doSearch}" class="search-button" title="#{msg.search_tooltip}" value=" #{msg.search_button}" />