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: Mike Schrag <email@hidden>
- Date: Thu, 17 Dec 2009 17:34:59 -0500
it posts into an iframe
On Dec 17, 2009, at 5:21 PM, Sergio Sánchez Maffet wrote:
> Timo, list,
>
> I can't believe it... ;-)
> Is there any solution known?
> How does the AjaxFileUpload do the trick?
>
> Thank you,
> Sergio
>
> Am 17.12.2009 um 23:07 schrieb Timo Hoepfner:
>
>> 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
_______________________________________________
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