[Seaside] Bespin integration
philippe.marschall at gmail.com
Sat Sep 11 07:47:04 UTC 2010
2010/9/11 laurent laffont <laurent.laffont at gmail.com>:
> I'm trying to create a WAFileLibrary subclass and import Bespin
> Embedded. https://bespin.mozillalabs.com/docs/embedding/index.html
> However, Bespin expects this file hierarchy to work:
> -- screen_theme/
> -- theme.less
> -- images
> With WAFileLibrary the path to files is built using the class name.
> Is there a way to choose the directory name for a WAFileLibrary ? So I can
> access theme.less like this:
> I know I can serve static filesusing an external Web server but I really
> want to put this in the image. (Or, if possible, serve static files
> via KomHttpServer or another Web server running on another port).
> Laurent Laffont
The easiest is probably to create a file handler named 'resources' and
override #name in your file library to answer 'screen_theme'.
More information about the seaside