我在 pagebean 中进行了长轮询设置:
<t:beanprocessing id="g_1" beanbinding="#{d.SomeImportantPageGridUI}" >
<t:sessioncloser id="g_7" />
<t:longpolling id="g_5" actionListener="#{d.SomeImportantPageGridUI.onLongPollingAction}" duration="#{d.SomeImportantPageGridUI.refreshInterval}" longpollingurl="#{d.SomeImportantPageGridUI.longPollingURL}" rendered="#{d.SomeImportantPageGridUI.longPollingRendered}" />
</t:beanprocessing>
SomeImportantPageGridUI 是使用 rowpagebeaninclude 嵌入到 WorkpageDispatchedPageBean 中的 PageBean。父bean是从主工作场所调度的。
当我切换到工作场所中的另一个页面,然后切换回父级“SomeImportantPage”时,#{d.SomeImportantPageGridUI.onLongPollingAction} 停止被调用。
当我检查浏览器开发工具网络选项卡时,长轮询和 ccaround 请求照常继续,我看不到前后差异。
ccaround 继续拥有正确的调用参数:
j_id_jsp_359873986_1%3Accoutestpage%3A_I_0SRI0-_I_220-g_22-g_5.action=invoke()
这是 LONGPOLLING 组件的一个错误行为。谢谢你告诉我们!
我们可以重现并修复该错误。该解决方案是计划于 7 月 26 日星期一进行的下一次更新的一部分。更新编号为 CC 20210726。
如果您需要一些临时更新,请告诉我们。