xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin J <jacobson.mar...@gmail.com>
Subject Re: SVG not updating with changes I am making to DOM
Date Tue, 13 Mar 2012 13:23:52 GMT
Try

JSVGCanvas svg;
...
svg.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC);
...

before you start playing with the DOM

HTH
Martin

On 13 March 2012 01:59, Harrison Fortier <hfortier@ultramain.com> wrote:
> Hello all,
>
> I am making changes to the DOM and the SVG is not updating with these
> changes no matter what I try. I made a stackoverflow post with the details,
> including a short / simple / complete code sample which is ~100 lines of
> code.
>
> I’ve gotten to the point where I’ve even tried ripping out the JSVGCanvas
> and instantiating a new one with the updated element… and that isn’t even
> working (caching maybe?).
>
> Any help would be greatly appreciated, I’m basically to the point where
> tomorrow I’m going to grab the batik source code and start debugging through
> it / hack it to _force_ the update if I can.
>
> java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
> Windows Server 2003 R2
>
> http://stackoverflow.com/questions/9674831/how-do-i-get-svg-with-batik-to-refresh-display-after-dom-has-changed
>
> Regards,
> -Harrison
>
>
> ________________________________
> Ultramain Systems, Inc.
> 7500 Jefferson Street, N.E.
> Courtyard II
> Albuquerque, NM 87109
> USA
>
> TEL 505.828.9000
> FAX 505.823.1841
> www.ultramain.com
>
> Confidentiality Notice: This email message and any files transmitted with it
> may contain confidential information intended only for the person(s) to whom
> this email is addressed. If you have received this email in error, please
> notify the sender immediately by phone or email and destroy the original
> message without making a copy. Thank you.



-- 
>From my MacBook Pro

---------------------------------------------------------------------
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