[Seaside] MAFileModel - how to access url?

sergio_101 sergiolist at village-buzz.com
Wed Apr 14 05:12:19 UTC 2010


i used MAFileDescription to upload a file.. and it worked awesome..

the only thing i can't figure out how to to is save the urlFor: of the
file to a variable..

i have something like:

amazonAdHtml := 'a big string with a filename in it'
filename := record image filename

now, in order to make the above work, i'd like to replace the filename
in the amazonAdHtml string with the filename variable contents..

this would allow the ad to render correctly...

any ideas?

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