[Seaside] magritte file uploads?

sergio_101 sergiolist at village-buzz.com
Sun Apr 18 03:14:54 UTC 2010


> In any case you need to be at least within a session, otherwise this
> URL cannot be registered for you. Alternatively you use Apache to
> serve the files statically, see the configuration methods on the
> class-side of MAExternalFileModel.


just in case anyone was having the same struggle...

here's what i did..

i moved the code that does the query for the url of the file from the
object. to the rendering method..

that way, when it was evaluated, there was a session in progress, and
the url could be built..

thanks!
-- 

----
peace,
sergio
photographer, journalist, visionary

http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the seaside mailing list