[Seaside] Serving files from within Seaside
jtuchel at objektfabrik.de
Tue Dec 18 07:53:21 UTC 2012
I know people consider serving files a job that should be handled by a
"real" http server rather than Seaside. In most cases, esp. for static
resources that can be accessed by the public, that is absolutely the case.
But I need to serve files in a callback. The files are being partly
calculated and read from a DB and should be available for download by
clicking on a link.
I've been looking into WAFileLibrary and WAFileHandler, but am not sure
where to start.
What I want to do is something like:
callback: [self calculateChartAndServeIt]
with: 'Download full chart'.
I know I will have to respond:, but can I do that in a callback?
View this message in context: http://forum.world.st/Serving-files-from-within-Seaside-tp4659745.html
Sent from the Seaside General mailing list archive at Nabble.com.
More information about the seaside