Re: problem calling custom java class from ecmascript

2004-10-28 Thread Thomas DeWeese
Jeffrey Hau wrote: Thanks very much for the quick reply. I pick out that line from Rhino's embedding tutorial, now i am using my own class and everything is working fine :) btw, is there any documentation on the list of classes that has restricted access from javascript? Just the source, tak

Re: problem calling custom java class from ecmascript

2004-10-28 Thread Jeffrey Hau
Hi Thomas Thanks very much for the quick reply. I pick out that line from Rhino's embedding tutorial, now i am using my own class and everything is working fine :) btw, is there any documentation on the list of classes that has restricted access from javascript? thanks Jeff On 28 Oct 2004, at

Re: problem calling custom java class from ecmascript

2004-10-28 Thread Thomas DeWeese
Jeffrey Hau wrote: I am just starting with batik and try to run a very simple script within a SVG document. The script is just the function below, function callJava() { var cx = Packages.org.mozilla.javascript.Context.enter(); alert(cx); } Hi Jeffrey, We don't allow access to this c