<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>I use WABuilder for creating small chunks of html-Code to test the SVGTags. Unfortunately it is not possible to pass a RenderContext into WABuilder&gt;&gt;render:</div><div><br></div><div><div><i>WABuilder&gt;&gt;render: anObject</i></div><div><div><i><span class="Apple-tab-span" style="white-space: pre;">        </span>^ String streamContents: [ :stream |</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>| context document renderer |</i></div><div><i>...</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span><font color="#e32400">context := WARenderContext new.</font></i></div><div><i>...</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>renderer := self rendererClass context: context.</i></div><div><span class="Apple-tab-span" style="white-space: pre;"><i>                </i></span></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>self openDocument: document context: context.</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>renderer render: anObject; flush.</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>self closeDocument: document ]</i></div></div></div><div><i><br></i></div><div>so I would like to change the method and split it up in two methods:</div><div><br></div><div><i>WABuilder&gt;&gt;render:</i></div><div><i><br></i></div><div><i><span class="Apple-tab-span" style="white-space:pre">        </span>^ self render: anObject withContext: WARenderContext new.</i></div><div><br></div><div>and WABuilder&gt;&gt;render:withContext:</div><div><br></div><div><div><i>WABuilder&gt;&gt;render: anObject</i></div><div><div><i><span class="Apple-tab-span" style="white-space: pre;">        </span>^ String streamContents: [ :stream |</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>| context document renderer |</i></div><div><i>...</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span><font color="#e32400">context := aWARenderContext.</font></i></div><div><i>...</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>renderer := self rendererClass context: context.</i></div><div><span class="Apple-tab-span" style="white-space: pre;"><i>                </i></span></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>self openDocument: document context: context.</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>renderer render: anObject; flush.</i></div><div><i><span class="Apple-tab-span" style="white-space: pre;">                </span>self closeDocument: document ]</i></div></div></div><div><i><br></i></div><div>Is that OK and conforming to your development rules? How do I proceed if it is ok to implement?</div><div><br></div><div>Regards</div><div><br></div><div>Max</div></body></html>