You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by ed...@verizon.com on 2003/05/23 20:06:00 UTC
External browser and Batik browser interaction
Hello,
I use Batik to rasterize SVG into JPEG or PNG, which I then display in IE.
Originally I tried to use ASV3, but had some trouble with NE. Now I am
back to design table and want to know if this is possible.
Can I control what is displayed in the Batik browser from my IE browser or
from the server that launched the Batik browser? I am launching the
browser with Java Web Start (very much like the demo in the site).
I would like to use the Batik browser for my SVG viewing needs, but I
would like to leave the rest of the application (and report generating
logic in my case) in the J2EE/IE piece of it.
I would appreciate any comments.
Thanks,
elf
RE: External browser and Batik browser interaction
Posted by Stephen <st...@ilc.com>.
IE by itself should be able to call the applet by name in the html page.
Batik would need to be running inside the applet.
<applet name="myapp".....
document.myapp.doFunction(?)
Stephen.
-----Original Message-----
From: Thomas E Deweese [mailto:thomas.deweese@kodak.com]
Sent: Tuesday, May 27, 2003 8:46 AM
To: Batik Users
Subject: RE: External browser and Batik browser interaction
>>>>> "EAL" == edgardo a luzcando <ed...@verizon.com>
writes:
EAL> Hello, I use Batik to rasterize SVG into JPEG or PNG, which I
EAL> then display in IE. Originally I tried to use ASV3, but had some
EAL> trouble with NE. Now I am back to design table and want to know
EAL> if this is possible.
EAL> Can I control what is displayed in the Batik browser from my IE
EAL> browser or from the server that launched the Batik browser? I am
EAL> launching the browser with Java Web Start (very much like the
EAL> demo in the site).
So as a full Java Application (well even as an Applet) you can
open a socket back to the hosting server and through that update the
SVG any way you want (one respondent mentioned sending pieces of
JavaScript to execute). However I don't know of a good way to get IE
to talk with Batik. It should be possible to have IE talk with the
Server when then updates Batik but this is a bit roundabout.
BTW just because I don't know of a good way to get IE talking
with Batik doesn't mean there isn't one, I don't know that much about
what IE/Windows/Java WebStart offers for this sort of integration.
BTW If you left Batik as an Applet I believe it is fairly
straightforward to do all of the above (of course you may need to sign
it or something).
EAL> I would like to use the Batik browser for my SVG viewing needs,
EAL> but I would like to leave the rest of the application (and report
EAL> generating logic in my case) in the J2EE/IE piece of it.
I think some rework will be needed.
EAL> I would appreciate any comments.
Hope this helps at least a little.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
RE: External browser and Batik browser interaction
Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "EAL" == edgardo a luzcando <ed...@verizon.com> writes:
EAL> Hello, I use Batik to rasterize SVG into JPEG or PNG, which I
EAL> then display in IE. Originally I tried to use ASV3, but had some
EAL> trouble with NE. Now I am back to design table and want to know
EAL> if this is possible.
EAL> Can I control what is displayed in the Batik browser from my IE
EAL> browser or from the server that launched the Batik browser? I am
EAL> launching the browser with Java Web Start (very much like the
EAL> demo in the site).
So as a full Java Application (well even as an Applet) you can
open a socket back to the hosting server and through that update the
SVG any way you want (one respondent mentioned sending pieces of
JavaScript to execute). However I don't know of a good way to get IE
to talk with Batik. It should be possible to have IE talk with the
Server when then updates Batik but this is a bit roundabout.
BTW just because I don't know of a good way to get IE talking
with Batik doesn't mean there isn't one, I don't know that much about
what IE/Windows/Java WebStart offers for this sort of integration.
BTW If you left Batik as an Applet I believe it is fairly
straightforward to do all of the above (of course you may need to sign
it or something).
EAL> I would like to use the Batik browser for my SVG viewing needs,
EAL> but I would like to leave the rest of the application (and report
EAL> generating logic in my case) in the J2EE/IE piece of it.
I think some rework will be needed.
EAL> I would appreciate any comments.
Hope this helps at least a little.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
RE: External browser and Batik browser interaction
Posted by Stephen <st...@ilc.com>.
I don't know if this is what you are looking for but right now I'm using
an applet as a svg viewer. From there I am able to do a server push
through socket (or ejb, corba, etc) to send scripting commands to svg
viewer through the interpreter using interpreter.evaluate. Of course,
once you have it loaded up through an applet you have complete control
over everything. Then you can make things blink, change the color, etc
by sending a command remotely like "blink(idOfElementToBlink)" if you
have a blink function in your ecma script.
Hope this helps,
Stephen.
-----Original Message-----
From: edgardo.a.luzcando@verizon.com
[mailto:edgardo.a.luzcando@verizon.com]
Sent: Friday, May 23, 2003 2:06 PM
To: Batik Users
Subject: External browser and Batik browser interaction
Hello,
I use Batik to rasterize SVG into JPEG or PNG, which I then display in
IE. Originally I tried to use ASV3, but had some trouble with NE. Now
I am back to design table and want to know if this is possible.
Can I control what is displayed in the Batik browser from my IE browser
or from the server that launched the Batik browser? I am launching the
browser with Java Web Start (very much like the demo in the site).
I would like to use the Batik browser for my SVG viewing needs, but I
would like to leave the rest of the application (and report generating
logic in my case) in the J2EE/IE piece of it.
I would appreciate any comments.
Thanks,
elf