<div>Lukas, it seems that WAFileLibrary serves the static content from the image.  I&#39;m really looking to serve all my static content (i.e. images, stylesheets, and javascripts files) from Apache or another web server.  I understand the Apache side of the configuration after reading sections 22.3.5 and 22.3.6 of the &quot;Dynamic Web Development with Seaside&quot;.  Also, the WAFileLibrary seems like a great deal of work to an external resource.  In short, I was thinking that I could simply do the following:</div>

<div><br></div><div>stylesheets = #( &quot;/stylesheets/main.css&quot; &quot;/stylesheets/a.css&quot; &quot;/stylesheets/main.css&quot; ).</div><div>stylesheets do: [ :each |  html link with: [  self type: &quot;text/css&quot; href:  &quot;/stylesheets/main.css&quot; media: &quot;screen&quot; charset: &quot;utf-8&quot;. ].</div>
<div>javascripts = #( &quot;/stylesheets/main.css&quot; &quot;/stylesheets/a.css&quot; &quot;/stylesheets/main.css&quot; ).</div><div>stylesheets do: [ :each |  html script with: [  self type:  &quot;text/html&quot; source:  &quot;/stylesheets/main.css&quot;  charset: &quot;utf-8&quot;. ].</div>

<div><br></div><div>or something even easier</div><div><br></div><div>html link with: [  self all from: &quot;/stylesheets&quot; cache: true. ]. &#39;This will make all the stylesheets in /stylsheets available to the application.&#39;</div>
<div><br></div><div>Now, I would like to insert the javascript files at the end of the page like this so that they are the last thing loaded when the page is rendered.</div><div><br></div>
<div>html script with: [  self all from: &quot;/javascripts&quot;  cache: true. ]. &#39;This will make all the javascript files in /javascripts available to the application.&#39;</div><div><br></div><div>Also, I come from a Rails background where &#39;cache =&gt; true&#39; will generate a file which contains all the javascripts and a file that contains all</div>
<div>the stylesheets respectively.  Other options can include &quot;recursive:&quot; and &quot;fileName:&quot;</div><div><br></div><div>-Conrad</div><div><br></div><div>On Thu, Dec 24, 2009 at 12:55 AM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com" target="_blank">renggli@gmail.com</a>&gt;</span> wrote:</div>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have a look at JQGoogleLibrary, it includes the jQuery libraries<br>
through Google. Compare it with JQDeploymentLibrary, it includes them<br>
locally. You can find that pattern for other Javascript code too.<br>
<br>
Also the class comment of WAFileLibrary is quite detailed. Feel free<br>
to ask a follow-up question if any of the above is not clear.<br>
<br>
Lukas<br>
<br>
PS: I answered that mail on <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>,<br>
because this is not really a Seaside-Development question.<br>
<br>
2009/12/24 Conrad Taylor &lt;<a href="mailto:conradwt@gmail.com" target="_blank">conradwt@gmail.com</a>&gt;:<br>
<div><div></div><div>&gt; Hi, I was wondering, where can one find the complete Seaside 3.0 API for<br>
&gt; referencing external stylesheets and javascript files?  Also, I would like<br>
&gt; to reference these files from other domains like <a href="http://google.com" target="_blank">google.com</a> as well as the<br>
&gt; local disk.<br>
&gt; Thanks in advance,<br>
&gt; -Conrad<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; seaside-dev mailing list<br>
&gt; <a href="mailto:seaside-dev@lists.squeakfoundation.org" target="_blank">seaside-dev@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
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" 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>