Hi --
This might have been covered before but not in the context in which I'm asking. I using iText XFA Workflow engine along with Adobe LiveCycle. I have written JavaScript into my XML based PDF/XFA forms using LiveCycle. The PDF/XFA forms are processed by the iText XFA Engine which uses rhino 1.7R4. Sometimes I'm getting error messages from Rhino as follows....
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [[ ], [ , DataType1]] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [[ ], [ , DataType1]] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [[ ], [ , DataType1]] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [[ ], [ , DataType1]] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [[ ], [ , DataType1] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
My JavaScript looks like this
var m = this.rawValue;
if (m != null) {
var n = parseFloat(m);
n = n.toFixed(4);
this.rawValue = n;
}
Any help would be appreciated.
Thanks, Fergie70