<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I tried adding a css file from a WAFileLibrary sublass to only one
    component, because it is really just needed on pages that use the
    WAComponent that refernences it. The reason is that if you use
    #selectorsToInclude on the file library, the css will be imported
    into every single page. It is a larger css file, and since our
    production server uses https, I'd like to avoid importing too much.<br>
    <br>
    So I implemented this:<br>
    <br>
    <font face="Courier New, Courier, monospace">updateRoot: htmlRoot<br>
          <br>
         super updateRoot: htmlRoot.<br>
    </font><font face="Courier New, Courier, monospace">   htmlRoot
      stylesheet beCss url: KontolinoFileLibrary / #buaDetailsCss.<br>
       
    </font><br>
    <br>
    I either don't understand the purpose of updateRoot: completely or
    there is some problem with this approach: <br>
    <br>
    In IE 11 and Safari 7.0.4 as well as Firefox 29, the css link is not
    always in the head-section of the resulting page. But is there if I
    hit the Browser's reload button on the page. This is quite
    consistently so, but in maybe 3 out of 25 tries the css is also in
    the page when I navigate to it by call: or show:<br>
    <br>
    So far I only tried that locally with direct http access to the
    image (development machine), no front-end http server.<br>
    <br>
    Am I trying to do something at the wrong place - should I use
    another method for this? <br>
    Is this a bug in Seaside? I have only tried in VA Smalltalk so
    far...<br>
    <br>
    For now, the css is back to #selectorsToInclude.<br>
    <br>
    But I would like to use a technique that allows me to only add js
    and css files and such on pages that include a certain Component, to
    reduce load and execution times of complex pages.<br>
    <br>
    Joachim<br>
    <br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          <a class="moz-txt-link-freetext" href="mailto:jtuchel@objektfabrik.de">mailto:jtuchel@objektfabrik.de</a>
Fliederweg 1                         <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg                  <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

</pre>
  </body>
</html>