【发布时间】:2013-05-02 10:54:23
【问题描述】:
我收到“找不到从“contentForm:tabView:form:addressBookTable”引用的标识符为“contentForm:tabView:form:addressDialogPanel”的组件”错误。如何更新小部件内的 panelGrid?
<h:form id="form">
<p:dataTable id="addressBookTable">
<p:ajax event="rowSelect" listener="#{addressBookController.onRowSelect}"
update="contentForm:tabView:form:addressDialogPanel" oncomplete="addressDialog.show()" />
</p:dataTable>
<p:dialog id="addressDialogId" widgetVar="addressDialog">
<h:panelGrid id="addressDialogPanel" columns="2" cellpadding="4">
</h:panelGrid>
</p:dialog>
</h:form>
【问题讨论】:
-
@ÖmerFarukAlmalı 我已将 contentForm(form) 更改为面板。现在它给出了“无法找到从“tabView:form:addressBookTable”引用的标识符为“tabView:form:addressDialogPanel”的组件”错误。 p:tabview 也是一种形式吗?
-
@ÖmerFarukAlmalı 你的回答对我不起作用。会不会有问题?
-
那你为什么不回复我呢?如果你愿意解决你的问题,你应该遵循完全正确的回答的必要步骤。迟到 3 天的“不工作”评论是不合理的行为。
标签: jsf primefaces