Hello list. My application is unable to load the css defined into a custom library class (I'm updating from 2.7 to 2.8). This is what I did: Subclassed WAFileLibrary with WASCAppFileLibrary, setting the #registerAsApplication properly and then wrote
<br><br>updateRoot: anHtmlRoot <br> super updateRoot: anHtmlRoot.<br> Notifier isDevelopment "assume this is true always"<br> ifTrue: [ anHtmlRoot stylesheet url: self class / #localCss ]
<br> ifFalse: [ anHtmlRoot stylesheet url:'<a href="http://www.scexapp.com/styles/myStyle.css" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.scexapp.com/styles/myStyle.css</a>
' asURI ]<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 dnu nor firebug tell me nothing at all. I saved the output and compared with the old version (SS
2.7) which works fine since it sets css scripts with #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 would be called effectively the localCss method?<br>I'm using VW 7.5.<br><br><span><a href="mailto:vwnc@cs.uiuc.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a></span>
thanks<br><br>Bill<br>