• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERAttachmentUpload with AjaxSubmit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ERAttachmentUpload with AjaxSubmit
      • From: "CHRISTOPH WICK | i4innovation GmbH, Bonn" <email@hidden>
References: 
 >ERAttachmentUpload with AjaxSubmit (From: "CHRISTOPH WICK | i4innovation GmbH, Bonn" <email@hidden>)

  • Prev by Date: Re: ant build error - too many open files
  • Next by Date: Fwd: ant build error - too many open files
  • Previous by thread: ERAttachmentUpload with AjaxSubmit
  • Next by thread: Re: ERAttachmentUpload with AjaxSubmit
  • Index(es):
    • Date
    • Thread