In your JS source code, you're creating functions, therefore the object you 
receive will implement org.mozilla.javascript.Function, so casting to Function 
must work. So, your solution #2 is the best you can get - there's no better way 
to do it, and honestly, I don't really see how could it be easier.

Attila.

On 2009.11.27., at 17:45, kunderez wrote:

> and update.... I somehow got method #2 and #3 working... but if you
> still have better way to do this, I am open to any suggestions...
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to