Hi, I recently dove back into my company's rhino code that we've been 
using well since 2001.

The problem I'm having relates to an object created during a running 
javascript via the new operator:

var mySelectField = new Packages.package.stuff.here.JSFormSelect();

The JSFormSelect class extends ScriptableObject.

Inside the JSFormSelect class are a couple of jsFunction_ methods, 
including
public String jsFunction_toString()

It appears that mySelectField is created properly, but when I try to 
output mySelectField.toString(),
I get the Exception TypeError: toString is not a function.

What could be wrong?

Thanks,
Daniel

P.S. I posted to the Google Group at mozilla.dev.tech.js-engine.rhino, 
but I'm not sure that anyone reads and responds there, or if posts are 
only done through this list.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to