[Seaside] magritte file uploads?

Lukas Renggli renggli at gmail.com
Wed Apr 14 06:18:38 UTC 2010


> but.. where does it upload that file to?

To your model, the place you specified using accessor.

> can i change the destination to a file library?

You can do that from within the accessor method.

> how do i get the image to render?

Magritte displays it automatically. Also you can just say

    html render: aFileModel

to display the uploaded file.

> what will the url for the image be?

    aFileModel urlOn: html

Cheers,
Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list