请帮忙.当我在xPages中运行单个XSP.partialRefreshGet并且它正在工作时.但是,在获得多个部分刷新时它不起作用.有什么不对吗?请帮助和谢谢.
<xp:scriptBlock id="scriptBlock1">
<xp:this.value>
<![CDATA[
setInterval(function() {
XSP.partialRefreshGet("#{id:refreshPanel}", {
onComplete: function() {
XSP.partialRefreshGet("#{id:refreshPanel2}", {});
}
} })
}, 1000)
]]>
</xp:this.value>
</xp:scriptBlock>
Run Code Online (Sandbox Code Playgroud) xpages ×1