[Seaside] How to do file upload?

Blanchard, Todd tobl at amazon.com
Wed Mar 30 22:53:28 CEST 2005

I have this in renderContentOn: html

html heading: 'Upload the file:'; break;
	form: [ html fileUploadWithCallback: [:f | self session loadFromFileNamed: f]; break; submitButton ].

The callback to fileUploadWithCallback gets a string which is the filename, but how do I retreive the contents of the file?  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20050330/1588716f/attachment.htm

More information about the Seaside mailing list