• 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
Dumb ERAttachmentFlexibleUpload question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dumb ERAttachmentFlexibleUpload question


  • Subject: Dumb ERAttachmentFlexibleUpload question
  • From: "Andrew R. Kinnie" <email@hidden>
  • Date: Fri, 23 Jul 2010 12:50:14 -0400

I am trying to use ERAttachmentFlexible upload in our app.  We have a communication entity, which has up to 5 attachments of type ERAttachment.  (attachment1, attachment2 . . ., etc.)  all are foreign keys to the ERAttachment.

I am trying to use ERAttachmentFlexibleUpload inside a subcomponent which itself is contained in an AjaxModalDialog.  This seems to work for the first attachment I upload, using relatively few bindings 

ERAttachmentFlexibleUpload : ERAttachmentFlexibleUpload {
  attachment = attachmentItem;
  editingContext = communication.editingContext;
  finishedFunction = "new function() { attachmentUploadContainerUpdate() }";
  selectFileButtonClass = "prettyButton";
  selectFileLabel = "Choose File";
}

I am not a _javascript_ whiz to say the least, so I am having difficulty figuring out what the _javascript_ is doing and where it is (e.g. attachmentUploadContainerUpdate())

Also, I don't know where the default css is.

The main problem is that when I delete an attachment (by setting it to null in the communication's edit component), then I want to add another attachment, the old filename appears, with a clear link below it.  I have no idea why that is, or where that is happening.  

I assume there is someplace someone could point me to.

Thanks

Andrew
 _______________________________________________
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: Dumb ERAttachmentFlexibleUpload question
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: Inverse to-one relationships
  • Next by Date: Re: Dumb ERAttachmentFlexibleUpload question
  • Previous by thread: Re: (dead)locking of EC and OSC
  • Next by thread: Re: Dumb ERAttachmentFlexibleUpload question
  • Index(es):
    • Date
    • Thread