Thank you Timo and Mike,
I have to turn ajax off while submitting a file... no other solution in this case for now... A future solution would need to post the data to an iframe and then send the data to the server... sounds complicated, but should work.

Thank you again for your fast responses.
--
Sergio


Am 17.12.2009 um 23:34 schrieb Mike Schrag:

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de

This email sent to [email protected]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to