Re: ERDragAndDropUpload
Re: ERDragAndDropUpload
- Subject: Re: ERDragAndDropUpload
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 02 Jun 2015 16:45:55 -0700
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 <email@hidden> 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 (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