【发布时间】:2015-03-23 00:52:40
【问题描述】:
我的配置:JSF 2.2 - mojara 版本 2.2.8 Glassfish 服务器 4.0 Primefaces 5.1.7
当我尝试在 p:panel 中的 p:dialog 中使用 h:commandLink 传递 f:param 时遇到问题。这是 h:commandLink 的代码
<h:commandLink action="#{creditApplicationAttachmentBean.uploadFile()}" styleClass="mystyle-btn" id="uploadFileButton"><i/> #{msg['mymessage.upload.button']}
<f:ajax execute="ids of elemets to execute" render="ids of elements to update"/>
<f:param name="showMessageInGlobal" value="false"/>
</h:commandLink>
因此,当触发操作时,永远不会设置参数(它为空)。我已经检查了嵌套表单并且没有它们。没有验证错误。所以似乎一切都很好,参数的一部分没有设置。
任何帮助将不胜感激。
【问题讨论】:
标签: jsf-2 primefaces parameter-passing