[Seaside] how to get dynamic files?
Lukas Renggli
renggli at gmail.com
Wed Feb 25 07:04:37 UTC 2009
> My method in a WAFileLibrary subclass returns dynamic contents (composes
> it on the fly). But when I'm trying to download it (no matter how many
> times) - the contents is the same as in the begining. Is it possible to
> get a dynamically created file from WAFileLibrary so it could be
> different for each request?
WAFileLibrary sets the header fields so that the browser can cache the
files. That's why you don't see any changes. Better write a custom
WARequestHandler subclass to create dynamic content.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list