We just implemented the same function. Should I send you our code? Michael
Sent from my iPhone > On Aug 11, 2016, at 7:48 AM, fre...@timeoff.se wrote: > > Hi Ramsey! > > I created a pull-request #793 for an updated ERDragAndDropUpload-component, > that has support for a file upload button. > > Could you check it out? > > /Fredrik > >> 5 juli 2016 kl. 19:50 skrev Ramsey Gurley <rgur...@smarthealth.com>: >> >> The ERDragAndDropUpload does nothing to save EOs by design. If you are >> fetching the EOs to display, maybe try ERXFetchSpec with >> includeEditingContextChanges() == true? >> >>> On Jul 4, 2016, at 8:13 AM, fre...@timeoff.se wrote: >>> >>> Hi, >>> >>> Does anyone have a good solution to updating a container with uploaded >>> files with ERDragAndDropUpload? >>> >>> There is a completeAllFunction you can bind to, but if I do a container >>> update with that, then all files will not show. They do not seem ready yet. >>> >>> Is there a way to not do the update until all files are processed on the >>> server? >>> >>> Regards >>> Fredrik Lindgren >>> >>> >>>> 3 juni 2015 kl. 01:51 skrev Kevin Hinkson <k...@coralstone.co>: >>>> >>>> Ah I see. Thanks. >>>> >>>>> On Jun 2, 2015, at 7:45 PM, Ramsey Gurley <rgur...@smarthealth.com> wrote: >>>>> >>>>> Oh, yeah, I did add a per file progress bar in there too... It's been so >>>>> long since I wrote/used it myself :) >>>>> >>>>> It's in the WebServerResrouces/js/dndupload.js >>>>> >>>>> It's just a div with a class (uploadProgress) so you should be able to >>>>> style it as you like. Looks something like >>>>> >>>>> <div class="uploadProgress"> >>>>> <span>File Name</span> >>>>> <progress>x%</progress> >>>>> </div> >>>>> >>>>>> On Jun 2, 2015, at 4:13 PM, Kevin Hinkson wrote: >>>>>> >>>>>> Hey Ramsey, >>>>>> >>>>>> Thanks for the reply. I do see a progress bar when I upload files. I >>>>>> obviously don’t know much about how this component works but from your >>>>>> response I would guess that might be something Safari is doing. >>>>>> >>>>>> Thanks for the info. I’ll dig more into it and see what I can do. >>>>>> >>>>>>> On Jun 2, 2015, at 6:42 PM, Ramsey Gurley <rgur...@smarthealth.com> >>>>>>> wrote: >>>>>>> >>>>>>> Just the javadocs on the class and the .api file. I wrote that for fun >>>>>>> to demonstrate it is possible with ERAttachment. I'm using it in the >>>>>>> backend here at work though. >>>>>>> >>>>>>> It's really basic. Just wrap it around whatever you want to be a drop >>>>>>> target. There's no progress bar although there is a callback for each >>>>>>> file uploaded and one callback when all files are uploaded. You could >>>>>>> sorta build a progress bar from that I suppose. >>>>>>> >>>>>>> >>>>>>>> On Jun 2, 2015, at 2:08 PM, Kevin Hinkson wrote: >>>>>>>> >>>>>>>> Hi all, >>>>>>>> Is there any documentation for ERDragAndDropUpload? I’ve managed to >>>>>>>> get it working when I have a div target and I can upload attachments >>>>>>>> and trigger an action when the upload succeeds. But I am at a loss as >>>>>>>> to what I can do wrt styling the html and progress bars with css, >>>>>>>> handling multiple uploads and error handling. >>>>>>>> >>>>>>>> Thanks. >>>>>>>> _______________________________________________ >>>>>>>> Do not post admin requests to the list. They will be ignored. >>>>>>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>>>>>>> Help/Unsubscribe/Update your Subscription: >>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com >>>>>>>> >>>>>>>> This email sent to rgur...@smarthealth.com >>>>>>> >>>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/frelin%40timeoff.se >>>> >>>> This email sent to fre...@timeoff.se >>> >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com >>> >>> This email sent to rgur...@smarthealth.com > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/michael%40aspireauctions.com > > This email sent to mich...@aspireauctions.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com