I made a few changes to this tutorial(http://www.cssjockey.com/web-
development/an-easy-way-to-create-loading-bar).
It doesn't really show how much progress the load has made but at
least users will know something is hapening.

When the page loads I call $("loading").hide();
then right after I call $("blob-form").submit();

I added

$("blob-form").hide();
$("loading").show();

man I love jQuery!



On Jan 25, 8:34 am, Didier Durand <[email protected]> wrote:
> Hi,
>
> To my knowledge it is impossible based on infos provided by GAE: the
> blobstore will call your servlet once only at the very end of the
> upload process.
>
> So, no hope from back-end perspective but maybe possible from a front-
> end perpective it the client can detect and feed the loading bar with
> how many bytes already accepted by the server.
>
> Don't know enough about front-ends to propose a solution. Anybody ?
>
> regards
>
> didier
>
> On Jan 25, 1:34 pm, WillSpecht <[email protected]> wrote:
>
> > What would be the best way to implement a loading bar for a blob store
> > upload.  Right now I click submit and the page freezes while the file
> > is uploaded.  Is there a way to create a loading bar on screen so the
> > user knows the file is loading and doesn't try to refresh or navigate
> > to another page and not upload the file?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to