Re: ERAttachmentUpload with AjaxSubmit
Re: ERAttachmentUpload with AjaxSubmit
- Subject: Re: ERAttachmentUpload with AjaxSubmit
- From: Samuel Pelletier <email@hidden>
- Date: Fri, 20 Feb 2015 10:12:37 -0500
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@hidden> 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@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