Le mardi 01 avril 2008 à 20:52 +0200, Janko Mivšek a écrit :
> Hi Edward again,
>
> Please load latest Aida from
http://mc.bioskop.fr/Aida.html.
Please be careful, there are several branches of Aida on the repository.
The *real* latest is Aida5.6-np.27.mcz.
To see how we deal with webStyle and different pageFrame methods, you
can also load Scribo (a CMS written with Aida) on the same repository,
and look bit at the code.
See WikiPageApp>>viewMain and BlogPostApp>>viewMain for example.
Cheers!
Nico
> Official
> Squeak release has some issues with static file serving which are now
> solved in dev releases. Yes, we need to make a new relase soon ...
>
> Also, ./ means a home from directory where image was started, not VM!
>
> I hope this helps
> Janko
>
> Edward Stow wrote:
> > Hi
> >
> > I would like to serve static css files to render my pages.
> >
> > I have been trying in my WebApplication subclass.
> >
> > MyApp>>initPageHeaderLinks
> > super initPageHeaderLinks.
> > self addLinkToScreenStyleSheet: '/css/mycss.css'
> >
> > The link is added to the html served to my browser but the css file
> > cannot be located. (404 error)
> >
> > I note that the (AIDASite named 'mysite') homeDirectory returns './'
> > -- I assume this is relative to squeak.exe
> >
> > I tried setting the absolute path with #homeDirectory: with no effect.
> >
> > I am sure I'm missing something ...
> >
> >
>
_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida