[Seaside] magritte file uploads?

Lukas Renggli renggli at gmail.com
Wed Apr 14 13:00:44 UTC 2010


> for some reason, this just renders a link to the file..

True. Magritte does not know how you want your file to be displayed.

You can have a look at how Pier decides how to display a file:
PREmbeddedRenderer.

> i looked at the code for that, and i can see where it renders the url,
> but i can't figure out how to pull it into a string..

      aFileModel contents

Have a look at the MAFileModel class for more methods.

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list