Not sure if this is too off topic for this list, but as this question 
may be more complex than regular Javascript or XUL questions or the 
like, I was wondering if anyone could clarify how one can correctly 
import using LiveConnect?

Trying to use a Berkeley DB XML class (which is in my classpath and 
which I can access from Java without problem) in a XUL document, I get a 
TypeError in Firefox that XmlManager() is not a constructor:

    var xmlman = new Packages.com.sleepycat.dbxml.XmlManager();

I'm able to get the built-in Java classes working, just not these 
imported ones.

And I couldn't figure out how to try to load the classes dynamically 
using the code at the bottom of 
http://developer.mozilla.org/en/docs/Java_in_Firefox_Extensions ...

Any ideas?

thanks,
Brett
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to