`

JSF 中的控件hotKey 回车 提交表单

阅读更多

JSF 中的控件hotKey 回车 提交表单

 

用法如下

 

<h:form>
     <h:commandButton action="xxx" value="xxx" id="buttonId"/> 
     <rich:hotKey key="return" handler="#{rich:element('buttonId')}.click()"/>
</h:form>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics