I'm quite new to mpages. At the moment I am trying to get the CCL as a Service Example running.
Package 34151 Version 6 is installed.
The CCL programs on the backend run and produce JSON data.
However the statement $MP.getJSON("mp_usr_data", function(usr){...}); produces an error message box saying "Invalid Pointer". That's all.
The callback function gets never called.
I found out that the error appears in the function send in XMLCclRequest
...
el.href = "javascript:CCLLINKPOPUP__(\"" + this.url + "\",\"" + param + "\",\"" + uniqueId + "\",\"\",0," + paramLength + ")";
el.click();
...
The el.click() statemant raises the error.
Any ideas what is wrong?
TIA,
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm quite new to mpages. At the moment I am trying to get the CCL as a Service Example running.
Package 34151 Version 6 is installed.
The CCL programs on the backend run and produce JSON data.
However the statement $MP.getJSON("mp_usr_data", function(usr){...}); produces an error message box saying "Invalid Pointer". That's all.
The callback function gets never called.
I found out that the error appears in the function send in XMLCclRequest
...
el.href = "javascript:CCLLINKPOPUP__(\"" + this.url + "\",\"" + param + "\",\"" + uniqueId + "\",\"\",0," + paramLength + ")";
el.click();
...
The el.click() statemant raises the error.
Any ideas what is wrong?
TIA,
Tom
The latest versions of *mpages.js* and *xmlcclrequest.js* available here: will correct these issues.
**If you have purchased and installed MPages 2.0, you do not need *xmlcclrequest.js*, as it has been integrated into version 2.0. **
Sorry for the delayed response!
: https://sourceforge.net/projects/mpages/