我有一個問題,數據沒有得到刷新datatable.I打開一個dialoge框,其中我有手風琴面板在acordian面板我有選項卡中我有數據表。primefaces數據表沒有得到刷新在選項卡
<p:dialog id="dlgAddEditFundsCustFinAcct"
widgetVar="dlgAddEditFundsCustFinAcctWidget" modal="true"
'
.
<p:accordionPanel id="accAEFCFA" widgetVar="accWidget">
<p:tab id="tabDocuments" widgetVar="tabDocumentsWidget">
<p:panel id="pnlDocuments" widgetVar="pnlDocumentsWidget" >
<p:panelGrid id="pgDocumentTable" columns="5">
<p:dataTable id="dtDocumentTable" var="documentRecord" value="#addEditFundsCustFinAcctManagedBean.documentDetails}" widgetVar="documentTable">
而且我已正確關閉所有選項卡。
,我試圖調用使用
<p:commandButton value="Yes" styleClass="button-green"
id="btnAddSellerAccountSsr" oncomplete="confirmAccountDialog.hide(),dlgAddEditFundsCustFinAcctWidget.show()" update=":parentForm:dlgAddEditFundsCustFinAcct" />
「parentForm」這個對話框是我的表單名稱。
一件事是,如果我在某些事件內部調用更新,例如在列上或rowclick上過濾,則數據在數據表中得到刷新。
請技術開發者的條款詳細說明究竟是如何的問題引起的,這段代碼究竟是如何解決的,而不是使之成爲一個完全無用的搜索與查找遊戲。 – BalusC