[Seaside] file upload & Action
Yar Hwee Boon
hboon at motionobj.com
Tue Jan 11 18:54:50 CET 2005
On Tue, 11 Jan 2005 18:41:47 +0100, Andrea Loddo <garbiner at libero.it>
wrote:
> html form: [
> html fileUploadWithCallback: [:f | file _ f].
> html submitButton.
> ].
I'm not sure what is the Action class. Is it your own class? But you need
to set the enctype attribute of the form accordingly:
html attributeAt: 'enctype' put: 'multipart/form-data'.
html form: [html fileUploadWithCallback: [:f | self halt].
html submitButton]
HTH.
--
Regards
HweeBoon
MotionObj
More information about the Seaside
mailing list