[Seaside] Suggestion: WAFile subclass: #WAImage for image uploads
mbany at cincom.com
Wed Mar 23 15:19:59 CET 2005
In the VisualWorks port, an instance of WAFile is created
when the HTTP request includes a MIME part. This happens
at a very early stage while parsing the HTTP request
so that proper WAxxx objects are made available to
Do you think we should create a WAImage object wherever
appropriate this early in the process ? This would imply
parsing every file. I think it would be enough to convert
WAFile objects into WAImage as needed.
[:f| [image := f asImage ...] on: NotAnImage do: [:e | ]
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Dmitry
Sent: Tuesday, March 22, 2005 11:51 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Suggestion: WAFile subclass: #WAImage for image
Ok, here is my current code.
My plan was to write a Component similar to WADateSelector with nice
But i feel that image detection methods should go into Seaside WAFile
More information about the Seaside