• 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: Using ERAttachmentFlexibleUpload but also examining file content at upload time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time


  • Subject: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • From: Paul Hoadley <email@hidden>
  • Date: Mon, 09 Sep 2013 09:08:33 +0930

On 07/09/2013, at 11:31 AM, David LeBer <email@hidden> wrote:

> No. inputStream is not being passed as a binding from ERAttachmentFlexibleUpload to AjaxFlexibleUpload.
>
> You can try modifying the wod on ERAFU to add that, but I've not looked a those components in quite some time, and they were a bit of a hairball to begin with.
>
> If you get what you want working, details and a pull request would be welcome.

Adding:

inputStream = ^inputStream;

to ERAttachmentFlexibleUpload.wod looked promising initially in that it did supply an InputStream with the file content, and I was able to do the parsing I wanted.  But some of the resulting ERAttachments (these are just CSV files) seemed to get mangled (in that they didn't later return the supplied content), so I'm not going to pursue this any further.  I'll look at handling the attachment creation manually.


--
Paul Hoadley
http://logicsquad.net/




 _______________________________________________
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


References: 
 >Using ERAttachmentFlexibleUpload but also examining file content at upload time (From: Paul Hoadley <email@hidden>)
 >Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Project Wonder Deployment Guide
  • Next by Date: Re: Project Wonder Deployment Guide
  • Previous by thread: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • Next by thread: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • Index(es):
    • Date
    • Thread