On 23/06/2014, at 3:43 PM, Paul Hoadley <pa...@logicsquad.net> wrote:

> I've been using AjaxFlexibleFileUpload in a project for a few months now, but 
> I've been getting reports of occasional failures.  The symptoms are very 
> specific:
> 
> 1.  User clicks "Select File..." and selects a file.
> 2.  User clicks "Upload", and nothing happens.
> 
> That is, the expected behaviour at 2 is, obviously, a progress meter appears, 
> and the file is uploaded.  What actually happens is the the "Upload" link 
> disappears, but nothing else happens.  The "clear" icon remains, and is the 
> only work-around for the issue: the user can clear the selected file and try 
> again, at which point the upload succeeds.
> 
> There are some features that make me think this is going to be terrible to 
> track down.

I never did get to the bottom of the issue, but there's a workaround which is 
mostly satisfactory.  Given that the user can only select a single file, the 
"Upload" button is essentially superfluous.  So it turns out that setting 
$autoSubmit="$true" side-steps the issue by removing step 2 from the list 
above.  I've convinced myself that this is a marginally better user experience 
anyway, so I don't have to dive into the bowels of the page and its myriad 
resources to find the actual root cause.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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

Reply via email to