[Seaside] File Upload
Glenn Swanlund
gtsab at shaw.ca
Tue Feb 18 20:11:58 CET 2003
Avi,
Looks good, thanks!
Regards,
Glenn
----- Original Message -----
From: "Avi Bryant" <avi at beta4.com>
To: "The Squeak Enterprise Aubergines Server - general discussion."
<seaside at lists.squeakfoundation.org>
Sent: Tuesday, February 18, 2003 7:43 PM
Subject: Re: [Seaside] File Upload
>
> On Tue, 18 Feb 2003, Glenn Swanlund wrote:
>
> > Is there a way in Seaside to upload a file?
>
> Ok, file in the attached changeset and you should be good to go.
> It adds a single method to HtmlRenderer, #fileUploadWithCallback:. Note
> that this should only be used inside a form that has an enctype of
> "multipart/form-data". The callback returns a WAFile, which will respond
> to #fileName and #contents.
>
> This also includes an example of its use in the WAUpload class. You can
> test it at /seaside/upload.
>
> Let me know how it works for you.
>
> Cheers,
> Avi
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
More information about the Seaside
mailing list