Extlib 中的动态内容控制在重建后翻转 [英] Dynamic Content Control in Extlib flips out after rebuild

查看:29
本文介绍了Extlib 中的动态内容控制在重建后翻转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 ExtLib 中的动态内容控件有疑问.每次我编译我的 xpage 时,如果我不重新加载页面,动态内容控件就会翻转.我需要一种方法来控制它,例如控件上的 onerror 事件.

I have an issue with the dynamic content control in ExtLib. Every time I compile my xpage the dynamic content control flips out if I do not reload the page. I need a way to control this, like an onerror event on the control.

这是怎么回事

  1. 我打开我的网页,动态内容控件工作正常
  2. 我对我的 xpages 进行了一些更改并构建(网页仍然打开)
  3. 我点击了我网页上的链接以重新加载动态内容控件中的内容.
  4. 网页翻转并开始使用部分刷新网址不断重新加载.

我使用各种方法来更新此控件.有时它是通过 csjs 链接,有时它是使用 XSP.partialRefreshGet() 的每个间隔,所以我想我需要一种方法来知道动态内容控件在调用它之前是否可用,或者让控件以某种方式通知我不是可用

I use various ways to update this control. sometimes it is through a csjs link and somtimes it is per interval using XSP.partialRefreshGet() so I guess I need a way to know if the dynamic content control is available before calling it, or let the control notify me somehow that is is not available

有什么想法吗?

谢谢托马斯

推荐答案

当您更改 XPage 时,您必须在任何浏览器中手动完全重新加载该页面.从旧页面执行任何调用都不起作用.

When you change an XPage you must do a manual full reload of that page in any browser. Executing any call from the stale page will not work.

这篇关于Extlib 中的动态内容控制在重建后翻转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆