<div dir="ltr">Hi!<br><br>The Render Continuation Class in the config for your app must be set to SVGAwareRenderContinuation!<br><br>br<br>Gerhard<br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 3:21 AM, Herve Darce <span dir="ltr"><<a href="mailto:squeak@moncase.fr">squeak@moncase.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I would like to use SVG in Seaside. I'm testing packages SeasideDynamicSVG-Core, SeasideDynamicSVG-Examples, SeasideDynamicSVG-Test.<br>
<br>
I built a subclass MySubClass of SVGXClockApplication (package SeasideDynamicSVG-Examples) and add a simple method:<br>
<br>
MySubClass class>> canBeRoot<br>
^ True<br>
<br>
I embed this as a component into a web page of Pier. A bug appears with the method WARenderCanvas>> svg. This method requires a method userAgentAdaptor that does not exist into WARenderinrContext. The method userAgentAdaptor is only into SVGAwareRenderingContext (subclass of WARenderinrContext).<br>
<br>
WARenderCanvas>> svg<br>
svg<br>
" Allows drawing inlined SVG "<br>
| brush svg |<br>
self context *userAgentAdaptor* renderPreambleForInlinedSVGOn: self .<br>
brush := SVGRootTag new.<br>
self brush: brush.<br>
svg := self svgRendererClass<br>
context: self context<br>
callbacks: self callbacks.<br>
brush svgCanvas: svg.<br>
svg svgTagsNeedNamespace: false.<br>
self context containsInlinedSVG: true.<br>
^ brush<br>
<br>
Is it a bug into package SeasideDynamicSVG-Examples? How to fix this problem?<br>
<br>
I use *VM* <a href="http://distfiles.gentoo.org/distfiles/Squeak-3.10-1.src.tar.gz" target="_blank">http://distfiles.gentoo.org/distfiles/Squeak-3.10-1.src.tar.gz</a> and *images* <a href="https://gforge.inria.fr/frs/download.php/5550/sq3" target="_blank">https://gforge.inria.fr/frs/download.php/5550/sq3</a>. 10.2-7179web08.08.1.zip and <a href="http://gforge.inria.fr/frs/download.php/5432/Pharo0.1-10050-2008-07-19.zip" target="_blank">http://gforge.inria.fr/frs/download.php/5432/Pharo0.1-10050-2008-07-19.zip</a>.<br>
<br>
Cheers,<br><font color="#888888">
<br>
Herve Darce<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br></div>