Hi,
Here is the page http://xml.apache.org/batik/javaScripting.html that might
help you. It describe the steps to go through in order to take advantage of
dynamic updates in Batik with Java ( this is working with Batik 1.5beta3 ).
Nicolas
> -Original Message-
> From: Ingrid Falk [mailto
Thank you.It really works,and yes it is better to put the script in the
cdata section.
But the problem is how to add a event(eg.a mousedown event) to the
element I create to invoke the script function I defined as following?
^^^And is it the normal way to do
> "George" == George Armhold <[EMAIL PROTECTED]> writes:
George> Greetings, I'd like to inquire about the current state of
George> Batik with respect to dynamically updating documents via
George> the DOM. I've seen a few messages in the list archives
George> suggesting that s
Mathew,
You should use Batik 1.5beta3, which does what you want and supports
dynamic updates without requiring you to redraw the all canvas.
Vincent.
Mathew Joseph wrote:
> hi,
> we are trying to create a SVG whiteboard. As of right now we are able to
> add elements to the DOM and ask the SVGC
Hello,
You can do something like:
Document doc = ...; // Your SVG document.
Element svg = doc.getDocumentElement();
Element rect doc.createElementNS(svgNS, "rect");
svg.appendChild(rect);
rect.setAttribute(...);
Element script = doc.createElementNS(svgNS, "script");
Element scriptCode = doc.crea
Greetings,
I'd like to inquire about the current state of Batik with respect to
dynamically updating documents via the DOM. I've seen a few messages
in the list archives suggesting that some dynamic features work in the
1.5 beta, however my updates don't seem to work. (I also tried the
latest v
Hi
I followed the instructions in the Pawson faq as follows:
Hi,all:
I try to create a SVG DOM object via batik api.
The SVG DOM should be look like this:
//
http://www.w3.org/2000/svg"; width="400" height="450">
function showDialog(msg) {
alert(msg);
}
//
it is easy to create the "rect" element to