on 06-11-2009 12:50 PM
Has anyone seen the error message "TODO: Callback Function cannot be found" when calling /OpenDocument/opendoc/openDocument.jsp in a web application on XI 3.1.
Tracing the error it appears to be originating from within openDocument.jsp but cannot work out what the error is caused by.
The code works in our XI R2 environment without a problem so perhaps there have been some changes between XI R2 and XI 3.1.
Any help would be greatly appreciated.
It means a client-side JavaScript unexpectedly could not find a JavaScript function it expected.
So some *.js file isn't being loaded, or the function conflicts with some surrounding JavaScript in your page.
I'd recommend first running the web browser with a JavaScript debugger to see exactly what it's looking for.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From running the debugger on the application - I have discovered that the error is being returned because the opendocInvokeActionCallBack variable (within opendocCallbackInsideApplication.js) is being set as null within the OpenDocument application.
The url my application is passing to call OpenDocument is:
Any ideas?
Perhaps the token needs to be sent as its loading the report in a blank.html and not within itself.
If I take the URL and paste into the current window the report works so perhaps the problem is to do with token=null.
This is the function I am using to get the value of the token: String token = (String)session.getAttribute("Token");
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.