[Seaside] Re: Multiple versions of a image file
ronaldoferraz at gmail.com
Sat Feb 16 19:42:06 UTC 2008
Thanks again for the reply. Subclassing really seems better than
changing a core class.
By the way, Magritte rocks. :-)
On Feb 16, 2008 5:38 PM, Lukas Renggli <renggli at gmail.com> wrote:
> > Thanks for the quick reply. I guess I didn't express myself well when
> > I used the word "versions". By versions I meant diferent
> > representations, like thumbnails, for example. Currently, I'm
> > generation them on-the-fly, but I'd like to keep then on the disk to
> > make use of Apache static file support.
> In this case a new subclass of MAFileModel is probably the easiest way
> to go (I did something similar for a commercial project). You can tell
> the file-description to use a different file-model class using the
> #kind: accessor.
> Lukas Renggli
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside