Dynamic Content Control in Extlib flips out after rebuild

和自甴很熟 提交于 2020-01-25 20:20:14

问题


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.

this is wahat's happening

  1. I open my webpage, the dynamic content control works fine
  2. I do some changes to my xpages and build (webpage still open)
  3. I click a link on my webpage to reload the content in the dynamic content control.
  4. the webpage flips out and starts to reload constantly using a partial refresh url.

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

any idea?

Thanks Thomas


回答1:


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.



来源:https://stackoverflow.com/questions/12154391/dynamic-content-control-in-extlib-flips-out-after-rebuild

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!