<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">&lt;<a href="mailto:squeak@moncase.fr">squeak@moncase.fr</a>&gt;</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&#39;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&gt;&gt; canBeRoot<br>
^ True<br>
<br>
I embed &nbsp;this &nbsp;as a component &nbsp;into a web page of Pier. A bug appears with the method WARenderCanvas&gt;&gt; svg. This method requires a method userAgentAdaptor that does not exist into WARenderinrContext. The method userAgentAdaptor is only &nbsp;into SVGAwareRenderingContext (subclass of WARenderinrContext).<br>

<br>
WARenderCanvas&gt;&gt; svg<br>
svg<br>
 &nbsp; &quot; Allows drawing inlined SVG &quot;<br>
 &nbsp; | brush svg |<br>
 &nbsp; self &nbsp;context *userAgentAdaptor* renderPreambleForInlinedSVGOn: self .<br>
 &nbsp; brush := SVGRootTag new.<br>
 &nbsp; self brush: brush.<br>
 &nbsp; svg := self svgRendererClass<br>
 &nbsp; &nbsp; &nbsp; context: self context<br>
 &nbsp; &nbsp; &nbsp; callbacks: self callbacks.<br>
 &nbsp; brush svgCanvas: svg.<br>
 &nbsp; svg svgTagsNeedNamespace: false.<br>
 &nbsp; self context containsInlinedSVG: true.<br>
 &nbsp; ^ 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>