问题
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
- I open my webpage, the dynamic content control works fine
- I do some changes to my xpages and build (webpage still open)
- I click a link on my webpage to reload the content in the dynamic content control.
- 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