[Seaside] FileLibrary - how to update stylesCss?
philippe.marschall at gmail.com
Sun Dec 30 23:33:10 UTC 2007
2007/12/27, Rajeev Lochan <lochan94 at gmail.com>:
> You need to have this method
> MyFileLibrary >>selectorsToInclude
> ^ #( styleCss )
No, it's either one or the other. Either you add the links to the CSS
explicitly in #updateRoot: or let them be automatically included by
#selectorsToInclude. This works only if you added this library to your
In general a good test is to go to:
hit F5 in FireFox and see if what you see matches your expectations.
> I doubt if you have to include anything abuot styleCss in updateRoot.
> Hope this helps,
> On Dec 27, 2007 3:32 PM, itsme213 <itsme213 at hotmail.com> wrote:
> > I have MyFileLibrary and imported a regular styles.css file into it, so I
> > now have a method #stylesCss.
> > In my specialized session class I do:
> > updateRoot: anHtmlRoot
> > super updateRoot: anHtmlRoot.
> > anHtmlRoot stylesheet
> > url: MyFileLibrary / #stylesCss.
> > But now when I change the string in my #stylesCss method the new styles do
> > not seem to reach the browser (after browser cache clear etc.) Is there
> > something special I need to do? I'm not using Apache or anything fancy,
> > straight served from Squeak (WAKom I think).
> > Thanks - Sophie
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> Rajeev Lochan
> Co-founder, AR-CAD.com
> +91 9243468076 (Bangalore)
> 080 65355873
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside