[Seaside] Re: CSS question
renggli at gmail.com
Mon Jan 9 12:16:21 CET 2006
> > I guess this doesn't help, but I might misunderstand the concept ...
> > What I want to do is to reference images (gif, jpeg) from my CSS
> > style-sheets that are stored within the source of a subclass of
> > WAStyleLibrary, so that everything is served trough Seaside.
> Ah, ok. So the issue is that you want some easy way to serve the
> images from Seaside, at a static URL so they can be referenced from CSS.
> Seems like that should be handled by some separate subclass of
> WAEntryPoint, which you can register with the dispatcher (ie at /
> seaside/images) and which implements #handleRequest: however it needs
Yes this works, but since the css styles are tightly coupled to the
images I want to replace them whenever someone is changing the default
PRPierLibrary. Moreover there might be a couple of Pier instances
(Seaside applications) running trough the same Seaside image using
different or the same style-library.
Imagine a third party developer/designer creating a new look for Pier.
Installing his package will add a/multiple new style-library class(es)
to the image the user can choose from. How can this be solved the
easiest? Of course I could create a new subclass from Application
doing this, but there might be a better solution ...
More information about the Seaside