<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 18 Jul 2007, at 14:08 , Richard K Eng wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV><FONT face="Verdana">Sorry, it still didn't help. This is so frustrating! How can something so basic and fundamental to Seaside be so problematic?!!</FONT></DIV> <DIV><FONT face="Verdana"></FONT> </DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This is because Seaside is so awfully heretic and does not serve static files. You need a web server for that.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>aRoot linkToStyle: '<A href="http://myserver/colour.css'">http://myserver/colour.css'</A>.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you cannot do this then you can create a handler for your file, something like this (untested)</DIV><BR></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>aRoot linkToStyle:</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>(aRoot context</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>urlForDocument: (WACachedDocument fileName: 'colour.css')</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>mimeType: 'text/css'</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>fileName: 'colour.css')</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Please note that this api is deprecated in Seaside 2.7 and gone in Seaside 2.8.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>With the regular api it would be something like this (untested)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>aRoot stylesheet resourceUrl:</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>(aRoot context</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>urlForDocument: (WACachedDocument fileName: 'colour.css')</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>mimeType: 'text/css'</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>fileName: 'colour.css')</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>HTH</DIV><DIV>Michel.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Seaside: Do not program the web, model it</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR></BODY></HTML>