#addLoadScript: doesn&#39;t add anything to the HEAD of the document. The document always has an onLoad specified and #addLoadScript: simply adds to a collection of scripts that are written out at the end of the document.<br>

<br>Julian<br><br><div class="gmail_quote">On Thu, Apr 22, 2010 at 9:07 PM, Sean Allen <span dir="ltr">&lt;<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I can do this with WAHtmlDocument&gt;&gt;addLoadScript: for javascript yes?<br>
But there is no equiv for css etc?<br>
<div><div></div><div class="h5"><br>
<br>
On Fri, Apr 16, 2010 at 8:10 PM, Julian Fitzell &lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt; wrote:<br>
&gt; If you&#39;re streaming the response, definitely not. If you&#39;re not, well maybe<br>
&gt; technically, though I think even in that case the data has probably been<br>
&gt; written to the response&#39;s data stream. You could certainly reset the<br>
&gt; response but then you&#39;d lose everything...<br>
&gt;<br>
&gt; You could subclass the render loop code and... the render context class<br>
&gt; maybe? Then you could hold onto the root in the context and not write it out<br>
&gt; until you were done rendering content. Or something... you&#39;re getting in<br>
&gt; deep at that point. :)<br>
&gt;<br>
&gt; Julian<br>
&gt;<br>
&gt; On Fri, Apr 16, 2010 at 10:28 PM, Sean Allen &lt;<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; is it possible for code that is executed during renderContentOn: to<br>
&gt;&gt; add additional header info like updateRoot: does.<br>
&gt;&gt; so basically, delay til renderContentOn decisions about what to add to<br>
&gt;&gt; root and what not.<br>
&gt;&gt;<br>
&gt;&gt; in psuedo something like:<br>
&gt;&gt;<br>
&gt;&gt; renderContentOn: aCanvas<br>
&gt;&gt;<br>
&gt;&gt;    aCanvas html: &#39;some html&#39;.<br>
&gt;&gt;    self renderMySpecialMethod.<br>
&gt;&gt;    aCanvas html: &#39;some html&#39;.<br>
&gt;&gt;<br>
&gt;&gt; renderMySpecialMethod: aCanvas<br>
&gt;&gt;<br>
&gt;&gt;   *magic to get html root*<br>
&gt;&gt;   *do something with html root*<br>
&gt;&gt;   aCanvas html: &#39;special html that needs something in the root to<br>
&gt;&gt; operate&#39;.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">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>
</div></div></blockquote></div><br>