Thanks Phillipe, the problem was some #urlOf: implementors were overidden with a hardcoded path.<br><br>Bill<br><br><div><span class="gmail_quote">2008/1/15, Philippe Marschall <<a href="mailto:philippe.marschall@gmail.com">
philippe.marschall@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008/1/15, William Hubbard <<a href="mailto:billhubard@gmail.com">
billhubard@gmail.com</a>>:<br>> Hello list. My application is unable to load the css defined into a custom<br>> library class (I'm updating from 2.7 to 2.8). This is what I did: Subclassed<br>> WAFileLibrary with WASCAppFileLibrary, setting the #registerAsApplication
<br>> properly and then wrote<br>><br>> updateRoot: anHtmlRoot<br>> super updateRoot: anHtmlRoot.<br>> Notifier isDevelopment "assume<br>> this is true always"<br>
> ifTrue: [ anHtmlRoot stylesheet url: self class / #localCss ]<br>> ifFalse: [ anHtmlRoot stylesheet<br>> url:'<a href="http://www.scexapp.com/styles/myStyle.css">http://www.scexapp.com/styles/myStyle.css
</a> ' asURI ]<br><br>Is there a reason for #asURI? This is Cincom specific, we do not<br>support that. In general I would put such logic in your root component<br>class and not your file library class.<br><br>> localCss
<br>> "Returns a CSS stylesheet associated with this component."<br>><br>> self halt.<br>> ^ ' .... '<br>><br>> The page loads ok, but not the CSS. The halt is never reached, there's no
<br>> dnu nor firebug tell me nothing at all. I saved the output and compared with<br>> the old version (SS 2.7) which works fine since it sets css scripts with<br>> #addHeadElement: but that api is unsupported now in SS
2.8.<br>> So I'm stuck here, I'm forgetting something? how can I debug this? where<br>> would be called effectively the localCss method?<br><br>If you go to<br><br><a href="http://127.0.0.1:8080/seaisde/files/MyFileLibrary/local.css">
http://127.0.0.1:8080/seaisde/files/MyFileLibrary/local.css</a><br><br>You might have to adjust that, eg. change port or add /go depending on<br>your setup.<br><br>Cheers<br>Philippe<br><br>> I'm using VW 7.5.<br>>
<br>> thanks<br>><br>> Bill<br>><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">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>><br>><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">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br></blockquote></div><br>