ID为的java RichFaces 4.5 commandLink执行表单
我想知道是否可以使用a4j:commandLink
组件的execute属性使用表单id提交表单。以下是我的代码:
<h:form id="myForm">
// fields and values and stuff.....
</h:form>
<a4j:region>
<a4j:commandLink execute="myForm" id="myLink" value="Click Here" render="someComponent" actionListener="#{myBean.myAction}"/>
</a4j:region>
如果这是不可行的,请建议我一些其他的方法来实现这一点
共 (0) 个答案