On Thu, Dec 24, 2009 at 4:42 AM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; Lukas, it seems that WAFileLibrary serves the static content from the image.<br>
<br>
</div>Not necessarily, see JQGoogleLibrary.<br>
<div class="im"><br>
&gt;  I&#39;m really looking to serve all my static content (i.e. images,<br>
&gt; stylesheets, and javascripts files) from Apache or another web server.<br>
<br>
</div>You can use the same approach if you serve from Apache.<br>
<br>
If you don&#39;t want to create your own FileLibrary class you can also<br>
override #updateRoot: in your root component with the same contents:<br>
<br>
YourFileLibrary / YourRootComponent &gt;&gt; updateRoot: anHtmlRoot<br>
        super updateRoot: anHtmlRoot.<br>
        anHtmlRoot javascript<br>
                url: &#39;<a href="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" target="_blank">http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js</a>&#39;<br></blockquote><div><br></div>
<div>Lukas, I saw example within the JQGoogleLibrary and I guess the following is legal as well:</div><div><br></div><div><a href="https://gist.github.com/29774f07f9a1468140f9">https://gist.github.com/29774f07f9a1468140f9</a></div>
<div><font class="Apple-style-span" face="arial, Arial, Helvetica, sans-serif"><br></font></div><div><div>Finally, it wasn&#39;t clear how to set the charset for both the javascript and stylesheet files.</div><div><br></div>
<div>-Conrad</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Instead of #url: you might also want to use #resourceUrl: instead,<br>
which uses the configured resource url path as the root.<br>
<br>
Lukas<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><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>