我在我的Xpage上有一個文檔數據源,我綁定了字段。有些是必需的。當我保存數據源併發生驗證錯誤時,下面的代碼在部分刷新上不再起作用。驗證錯誤document.setValue(「value」)不再有效
document.setValue("key","value");
這是我的局部刷新電話:
XSP.partialRefreshGet('#{id:refreshContactInfos}', {params: { 'reference': this.value, 'disableValidation':true}});
在使用id =「refreshContactInfos」股利我有一個隱藏字段,應設置字段的值來填充他們。
有什麼建議嗎?