ScriptableObject.callMethod( cx, thisObj, functionName, args );

On Tue, Apr 6, 2010 at 6:51 AM, vittal <[email protected]/> wrote:

> We are trying to invoke a rhino code from java, our custom code is not able
> to execute overriden function in script using Java, rhino version is 1.6
> build 5 and jdk1.6.
> same  custom code is working with 1.6 build 1, JDK 1.4.X.
>
> statements using to make a call
> Object func = ScriptableObject.getProperty(thisObj, functionName);
> f.call(cx, scope, thisObj, args);
>
> code is passing through call method of function object but not executing
> script method, not even throwing exception.
> what could be reason,
>
>
> ---
> frmsrcurl: http://mozilla-xp.com/mozilla.dev.tech.js-engine.rhino
> _______________________________________________
> dev-tech-js-engine-rhino mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
>



-- 
--Mark Storer
Professional Geek
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to