• 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: David LeBer <email@hidden>
  • Date: Fri, 06 Sep 2013 22:01:47 -0400

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.

D

--
David LeBer
Codeferous Software

On 2013-09-04, at 6:17 AM, Paul Hoadley <email@hidden> wrote:

> Hello,
>
> I'm using ERAttachmentFlexibleUpload to upload files to become ERAttachments.  I now want to examine the file content at upload time.  Is there any way I can get the file content itself before (or after) ERAttachmentFlexibleUpload whisks it away to become an attachment?  I got excited by the 'inputStream' binding on AjaxFlexibleFileUpload, but if that's even being passed through, it's turning up null.  That is, this:
>
> <wo:ERAttachmentFlexibleUpload editingContext="$document.editingContext" attachment="$document.erAttachment" inputStream="$inputStream" finishedAction="$finished" />
>
> leaves inputStream null when finished() fires.  Am I using it wrong, or can I not expect this to work?
>
> (Obviously I could try using AjaxFlexibleFileUpload directly, and then promote the file to an attachment later by hand, but I had hoped to do this, you know, without any actual effort.)
>
>
> --
> 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


 _______________________________________________
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: 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: Paul Hoadley <email@hidden>
References: 
 >Using ERAttachmentFlexibleUpload but also examining file content at upload time (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: JavaMonitor stop not working
  • Next by Date: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • Previous by thread: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • Next by thread: Re: Using ERAttachmentFlexibleUpload but also examining file content at upload time
  • Index(es):
    • Date
    • Thread