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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]