Hi Christoph,

I do not think the Ajax form encoder handle the file upload, it will be simply 
skipped.

I think the ERAttachmentFlexibleUpload component can work in Ajax context.

Samuel

> Le 2015-02-18 à 15:39, CHRISTOPH WICK | i4innovation GmbH, Bonn 
> <[email protected]> a écrit :
> 
> Hi there,
> 
> I try to use an ERAttachmentUpload within a form that's submitted by an 
> AjaxSubmitButton - but it doesn't work.
> 
> The action method bound to the AjaxSubmitButton is called BEFORE the setter 
> method of the fileupload is called. (Should be the other way around??). 
> Therefore no attachment is uploaded.
> 
> If I replace the AjaxSubmit with a plain old WOSubmit, everything works fine.
> 
> Any hints? Is it impossible at all to use file uploads within Ajax submitted 
> forms?
> 
> Thanks, Christoph
> -- 
> What are the three enemies of a programmer? Sunlight, oxygen, and the 
> appalling roar of the birds.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to