Subject: RE: Running an agent when $$ReturnGeneralError loads
This has been reported previously, but it was determined that it’s working as designed. Apparently the web-server developers feel that an error report page doesn’t really require sophisticated coding. You can still use formulas for computed fields and computed text, and that lets you do an awful lot. As a workaround, that’s not really so arcane – fairly obvious, in fact.
If you can’t figure out how to do what you want with a formula, describe your user requirement here to see whether someone has an idea.
I don’t understand the restriction against JavaScript. Certainly, there are things you can do with JavaScript that cause accessibility issues, but there are also also lots of ways to use it without a problem. For instance, inline JavaScript that uses document.write as the page loads, is never an accessibility issue (unless the HTML it generates is flawed – but you don’t need JavaScript to write poor HTML). If your company has an dumb policy that artificially limits you, how is that IBM’s fault? If you’ve developed a browser that doesn’t conform to modern standards for a web browser, by not supporting any JavaScript, then again, it seems like your issue.
And incidentally, you can call an agent by its URL from passthru HTML in your form by using it as a “src” for something – a stylesheet link, for instance. The agent can just print the content headers and a blank line or comment, so no actual styles are affected. This doesn’t require any JavaScript. Or, if it needs to return data into the document, and your IT policy makers get their heads straight, then the agent could output some JavaScript code that assigns variables to be incorporated into the page by document.write wherever needed.
Or, you can make a redirect in the meta information on the error page that immediately switches to a normal form, causing that form’s Webqueryopen to run.
So you have lots of options, and nothing I’ve mentioned here is a dark secret. It’s all right there if you read the documentation, and think about it a little.
If you feel that what you’re doing can’t be done with formula or any of the other ways mentioned above, and really makes sense to do on an error page, you might call Lotus Support and mention SPR #ESIS4ZLTN4.
In 8.5 I believe you should be able to use an XPage for this, and they are very programmable and straightforward. So IBM has already responded to your desire for a more coherent web design architecture. Note that you can upgrade a web server without necessarily upgrading Notes clients that access that server.