<h:form id="formId">
<p:wizard id="wizardId">
<p:tab id="tabId">
<p:dataTable id="tableId">
<p:column>
<h:commandLink value="remove" update=""/>
</p:column>
</p:dataTable>
</p:tab>
</p:wizard>
</h:form>
我需要更新
<p:dataTable>
,而不是整个表单。
我尝试使用@form
、@parent
、:formId:wizardId:tabId:tableId
,但它们都没有像我想的那样工作。当我使用@form
时,它会检查验证,而我不需要这样做。我该如何实现这一点?
<p:commandLink>
,我拼错成了<h:commandLink>
。通过将我的数据表移动到<h:panelGroup>
中,我找到了解决方案。 - Cijo