Re: multipart error when trying to display uploader
Re: multipart error when trying to display uploader
- Subject: Re: multipart error when trying to display uploader
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 16 Sep 2011 10:28:04 -0700
Hi James,
You need a rule like
100: pageConfiguration = "EditMyEO" => formEncoding = "multipart/form-data" [Assignment]
Or I think you could just make that
100: *true* => formEncoding = "multipart/form-data" [Assignment]
If you're not doing a big website, the bandwidth required by multipart/form-data isn't much greater than application/x-www-form-urlencoded anyway.
http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4
Ramsey
On Sep 16, 2011, at 10:11 AM, James Cicenia wrote:
>
> java.lang.IllegalArgumentException: This form is missing a 'enctype=multipart/form-data' attribute. It is required for WOFileUpload to work.
>
>
>
> What rule am I missing?
>
> I put in two... one to use ERMD2WEditAttachment
> another to set attachmentConfigurationName
>
> and then in properties:
>
> er.extensions.ERXApplication.DefaultEncoding=UTF-8
>
>
> Thanks
> James
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden