ERAttachment uploaders pain
ERAttachment uploaders pain
- Subject: ERAttachment uploaders pain
- From: T Worman <email@hidden>
- Date: Mon, 04 Apr 2016 17:40:44 -0700
Hello all:
I’ve tried pretty much every uploader in the ERAttachment package with poor results. I guess the only option is to transition to "_javascript_ guru.” I spent a LOT of time with ERAttachmentFlexibleUpload - and never could get it to display anything but “Upload Starting …” I tried every post-processing binding I could find.
Now simplifying to ERAttachmentUpload (with ajax). No matter what I try I cannot get the component to update anything after completion - which is similar to the problems with the flexible version. For simplicity, I reduced to one AUC (“fullPageContainer") that wraps all the page content.
I’ve also tried calling AjaxUpdateContainer.updateContainerWithID(“fullPageContainer”, context()) in the method bound to succeededAction and finishedAction. No go. This is what the wod definition looks like for my upload component.
PlainPictureUploader : ERAttachmentUpload { ajax = true; attachment = attachment; editingContext = pageEditingContext; ownerID = session.getRsvp.person.personUclaId; succeededAction = uploadSucceeded; allowCancel = false; startingText = "Uploading..."; cleanup = true; finishedFunction = "function(){fullPageContainerUpdate();}"; }
I’ve spent all day googling to no avail so I’d love to get “unstuck” if anyone sees something I’ve missed.
Tim Worman UCLA GSE&IS |
_______________________________________________
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