[Seaside] Setting multipart form for a WAEditDialog subclass

Avi Bryant avi.bryant at gmail.com
Wed Feb 2 02:04:13 CET 2005


On Mon, 31 Jan 2005 00:42:38 +0800, Yar Hwee Boon <hboon at motionobj.com> wrote:
> I have a WAEditDialog subclass in which I would like to allow file
> uploads. But I can't find any convenient place to set the form to
> multipart. Any ideas? Thanks.

The actual form is drawn by a FormDecoration; you could subclass that
to get a MultipartFormDecoration, and then override #addForm to use
that instead of the normal FormDecoration class.


More information about the Seaside mailing list