Hi Shekha,
First of all, it seems like you have replied to a previous and (apparently) unrelated thread instead of creating a new one. For a new subject, please create a new thread (also choosing a meaningful subject). ;-) > We are trying to implement the print functionality in our applicatio where > the Batik applet has to communicate with some DLL files. Here the process is > very slow and sometimes it even fails to do it. Is it a known issue in > Batik? Well, as far as I know Batik doesn't support such functionality (communicating with DLL) by itself. Could I invite you to share some details on the (current) solution? On one hand, I'm sure many are also interested in the possibility in order to, for example, wrap Batik as an ActiveX (for Internet Explorer) as a replacement for ASV. This idea isn't new [1] (and you may also find a few related threads by searching [2] for ActiveX within the Batik mailing list). I'd love to get my hand on this, although unfortunately I haven't been able to dedicate time to this for a while... :-| On the other hand, by sharing the relevant parts of the solution, there's also some chance that valuable feedback can help you towards a (common?) solution. :-) > We have implemented javascript in our application with Batik for some > functionalities.But we are facing some issue in javascript like the 'parent' > object of the document is not accessible and it gives null; here this same > functionality was working with ASV , which we were using earlier. In a few experiments, I recall being able to do this. Unfortunately the code is probably already outdated given that there were, somehow recently, some changes in Batik trunk code in order to support a subset of the Window object (not only the "parent" variable). Please refer to bug 46072 [3] for more information. The key concept to achieve HTML<->Applet communication seems to be around Netscape's LiveConnect technology, implemented through JSObject. A search [4] within the mailing list should put you into the right track. ;-) > I will be greatful if anyone can throw some light on my issues. Please remind to, when posting questions and/or sharing solutions, provide a bit of environment information such as Batik version (or revision number when working with the source code repository), Java version and operating system. That will surely help people figuring out why something may go wrong and/or in which environment a particular piece of code was tested. :-) Hope this helps, Helder [1] http://www.w3.org/Graphics/SVG/IG/wiki/SVG_Plugin_for_IE#Use_of_the_Apache_Batik_toolkit [2] http://www.nabble.com/forum/Search.jtp?forum=308&local=y&query=ActiveX [3] https://issues.apache.org/bugzilla/show_bug.cgi?id=46072 [4] http://www.nabble.com/forum/Search.jtp?forum=308&local=y&query=JSObject --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
