Re: ERDragAndDropUpload
Re: ERDragAndDropUpload
- Subject: Re: ERDragAndDropUpload
- From: email@hidden
- Date: Mon, 04 Jul 2016 17:13:41 +0200
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 <email@hidden>:
>
> Ah I see. Thanks.
>
>> On Jun 2, 2015, at 7:45 PM, Ramsey Gurley <email@hidden> 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 <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
_______________________________________________
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