Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
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