[Seaside] Not able to upload [a Seaside.WAFile] through onClick
dirkdirk at gmail.com
Wed Sep 19 21:01:05 UTC 2007
I have been trying to upload a picture through the onClick callback and
where I would usually use:
html fileUpload callback: [:f | file := f].
html submitButton text: 'Load'].
I have been trying the following as it worked for all the other form
elements i.e. input, select etc:
html fileUpload callback: [ :f | file:= f ].
onClick: (html updater
callback: [ :r | self renderPicture: r ];
text: 'Save' ]
But instead of returning "a Seaside.WAFile" it is returning the directory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside