is ERDragAndDropUpload broken? Or am I?

2019-12-21 Thread Markus Ruggiero via Webobjects-dev
Started to look into ERAttachment and found this to be more or less what I need. Trying to implement things however don't go well. I want to use ERDragAndDropUpload component from ERAttachment but somehow the data is not properly transferred. Here is the bindings: Upl

Re: AjaxFlexibleFileUpload vs. ERDragAndDropUpload

2019-12-18 Thread Hugi Thordarson via Webobjects-dev
ovide drag'n'drop. > Anyone's got an idea about how to enhance this component with drag'n'drop? > ERAttachment framework has ERDragAndDropUpload component but for the current > customer project using ERAttachment is not an opti

AjaxFlexibleFileUpload vs. ERDragAndDropUpload

2019-12-18 Thread Markus Ruggiero via Webobjects-dev
AjaxFlexibleFileUpload is quite nice but does not provide drag'n'drop. Anyone's got an idea about how to enhance this component with drag'n'drop? ERAttachment framework has ERDragAndDropUpload component but for the current customer project using ERAttachment is no

Re: ERDragAndDropUpload

2016-08-15 Thread frelin
I have made a new pull-request for the ERDragAndDropUpload, with support för a multi file select button. Also is included a fix from Michael Kondratov for the completeAllFunction in dndupload.js. completeAllFunction now works as advertised. Check it out here: https://github.com/wocommunity

Re: ERDragAndDropUpload

2016-08-11 Thread Michael Kondratov
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

Re: ERDragAndDropUpload

2016-08-11 Thread frelin
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 : > > The ERDragAndDropUpload does nothing to save EOs by design. I

Re: ERDragAndDropUpload

2016-07-08 Thread frelin
ng in ERDragAndDropUpload. Anyone? /Fredrik > 5 juli 2016 kl. 23:41 skrev fre...@timeoff.se: > > Hi Ramsey, > > The attachments are not saved, but I want to do an Ajax update of a container > with the uploaded attachments. It seems the objects hasn’t been inserted in >

Re: ERDragAndDropUpload

2016-07-05 Thread frelin
separate array, and display that. I will test that! A little hacky though... Nice component BTW! /Fredrik > 5 juli 2016 kl. 19:50 skrev Ramsey Gurley : > > The ERDragAndDropUpload does nothing to save EOs by design. If you are > fetching the EOs to display, maybe try ERXFe

Re: ERDragAndDropUpload

2016-07-05 Thread Ramsey Gurley
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 conta

Re: ERDragAndDropUpload

2016-07-04 Thread Michael Kondratov
I think we have a working code for that. Will send it tomorrow. Michael Sent from my iPhone > On Jul 4, 2016, at 11:13 AM, fre...@timeoff.se wrote: > > Hi, > > Does anyone have a good solution to updating a container with uploaded files > with ERDragAndDropUploa

Re: ERDragAndDropUpload

2016-07-04 Thread frelin
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

Re: ERDragAndDropUpload

2015-06-02 Thread Kevin Hinkson
t;>> 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 th

Re: ERDragAndDropUpload

2015-06-02 Thread Ramsey Gurley
en 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 >>&g

Re: ERDragAndDropUpload

2015-06-02 Thread 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 >> stylin

Re: ERDragAndDropUpload

2015-06-02 Thread Ramsey Gurley
ough 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 &g

ERDragAndDropUpload

2015-06-02 Thread Kevin Hinkson
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