XSP.submitLatency

I have an XPage which is being used for reporting. Because it’s doing quite a bit of processing and, on occasion, hitting timeout limits, I’ve set XSP.submitLatency in XSP.addOnLoad to 20000 (20 secs). This works well, except where I have a button to redirect to another XPage which writes out the data to Excel. After this has run, the original XPage does not respond to any partial refresh requests until the timeout (20 seconds) has completed.

I’ve tried setting XSP.submitLatency to a lower figure on the button that launches the Excel browser window, but that doesn’t work. I’ve also tried removing the XSP.addOnLoad and setting XSP.submitLatency on the button on my original XPage which runs the report, but again this doesn’t work. From what I’ve deduced from testing, XSP.submitLatency can only be set in XSP.addOnLoad and is not changed until another XSP.addOnLoad changes the value. Is this right?

My Excel XPage is setting rendered to false, so XSP.addOnLoad is not running there, so I can’t manage to override the submitLatency value or find any other way to get the original report XPage to start responding quicker. Does anyone have any ideas?