[Seaside] Problems with #urlOf: moving to 2.8
billhubard at gmail.com
Tue Jan 15 11:46:55 UTC 2008
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
super updateRoot: anHtmlRoot.
Notifier isDevelopment "assume this is true
ifTrue: [ anHtmlRoot stylesheet url: self class / #localCss ]
ifFalse: [ anHtmlRoot stylesheet url:'
http://www.scexapp.com/styles/myStyle.css' asURI ]
"Returns a CSS stylesheet associated with this component."
^ ' .... '
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.
So I'm stuck here, I'm forgetting something? how can I debug this? where
would be called effectively the localCss method?
I'm using VW 7.5.
<vwnc at cs.uiuc.edu> thanks
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside