I have a really strange problem with xpages that I see from time to time. I think it has to do with the dynamic content control
I have seen this error before in other situations but never understood what is causing it and how to prevent it from happening.
In this case I have a dynamic control from extlib loaded containing a jquery plugin that loads a calendar. the calendar works fine. but if I click the calendar navigation three times and then after that try to reload my dynamic content control it freaks out with a strange url and keeps reloading. (the calendar navigation does a ajax request to fetch json everytime it is clicked)
I am looking for a way to prevent or catch these errors so that user do not have to experience them.
I have attached an animation of the problem as it is kind of hard to explain.
the url that keeps reloading looks like this, "home" is the xpage, "dynC is the control and "booking" is the content loaded.
demo.intrapages.com/intrademo.nsf/home.xsp?%24%24ajaxid=home%3A_id1%3AdynC&content=booking&%24%24viewid=!dqeyhl895m!
you can reproduce the problem here I also noticed that it works in Firefox