Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
- Subject: Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
- From: Timo Hoepfner <email@hidden>
- Date: Thu, 17 Dec 2009 23:07:37 +0100
Hi Sergio,
a file upload is technically not possible with an Ajax request. JavaScript cannot access the files on the file system, this is a security restriction.
Timo
Am 17.12.2009 um 23:00 schrieb Sergio Sánchez Maffet:
> Dear list,
>
> I'm using the latest WONDER build (from yesterday) and WO54.
>
> Submitting a form using an AjaxSubmitButton with a WOFileUpload element (ERXWOFileUpload) ends up
> with empty filePath and data bindings after super.takeValuesFromRequest in the corresponding component.
> All other inputs and bindings are ok.
> Using a WOSubmitButton as a test does work as expected.
> Does the default form serializer handle file uploads correctly?
> The input file element does have a name assigned (default context id).
> Do I miss something here? Any ideas?
>
> Regards,
> Sergio
> _______________________________________________
> 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