xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tacio Santos" <tacio.san...@gmail.com>
Subject Re: UpdateManager thread not refreshing dynamic svg in JSVGCanvas
Date Wed, 07 Mar 2007 09:25:51 GMT
Hi,
thanks for the replies, I was indeed forgetting to append rectangle
I've created. But I'm still not getting it displayed though with the
DOM Viewer I can see it was added, any ideas?

thanks,
Tacio



On 3/7/07, Tonny Kohar <tonny@kiyut.com> wrote:
> Hi,
>
> On Wed, 2007-03-07 at 07:59 +0100, Pepping, Florian wrote:
> > Hi Tacio,
> >
> > I don't see any line of code where you are adding the created Element to
> > your document. Try adding something like this to your code:
> > root.appendChild(rectangle);
> >
> > Than it should work, the rest looks ok.
>
> Yup exactly, creating an element does not means adding an element.
> So after creating element you still need to add that created element
> into some node eg: root node, g node, etc
>
>
> Regards
> Tonny Kohar
> --
> Sketsa
> SVG Graphics Editor
> http://www.kiyut.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message