Hi,
Its little URGENT.
I have a simple DCT which makes call to a perl script to get ID (from database). I am able to get the value and populate in the DCT 'ID' field.
But after the execution of this callServer script, I am getting a javascript debug error on DCT form. If I turn the debugger on, following in the script which debugger is pointing to:
var IWSerializer = new Object(); IWSerializer.CDATASTART="";
IWSerializer.encoding = "UTF-8"; function processForTransport(str)
{ if (str.search("]]>") < 0)
{ return IWSerializer.CDATASTART + str + IWSerializer.CDATAEND; }
else { return XMLEscape(str); } } function XMLEscape(str) { //Implementation is the same as HTML escape. return HTMLEscape(str); }
The debugger is pointing to "
{ if (str.search("]]>") < 0) " line
Attaching my DCT , callServer script
Do I need to add something to my callServer ?
Please help.
Thanks in advance
Rohit Pathak