GMail像GWT文件上传进度条? [英] GMail like file upload progress bar with GWT?

查看:87
本文介绍了GMail像GWT文件上传进度条?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有Gmail用户应该已经注意到文件上传进度条最近已经更新。



我想知道GWT可以实现这种效果。
我对GWT相当新,所以如果有任何GWT源代码可以帮助我测试这个函数将会非常有用。

更新


我最终用SWFUpload去了。但是,这个问题下的其他建议都是有效的。只需尝试不同的选项并选择一个你喜欢的选项即可!

解决方案

查看此库: http://code.google.com/p/gwtupload/ 。在我检查过的所有浏览器和操作系统中使用和使用都很简单。它使用ajax请求来计算进度。顺便说一下,Swfupload在Linux和Mac上表现不佳。


All Gmail users should have already noticed that file upload progress bar has been updated recently.

I'm wondering such effect is possible to implement with GWT. I'm fairly new with GWT, so if any GWT source code that can help me test out the function would be very helpful.

Update
I ended up going with SWFUpload. However, other suggestions under this question are all valid. Just try different options and choose the one you like!

解决方案

Take a look to this library: http://code.google.com/p/gwtupload/. It is really easy to to use and works fine in all browsers and OS I've checked. It uses ajax requests to calculate progress. BTW Swfupload doesn't do well in linux and Mac.

这篇关于GMail像GWT文件上传进度条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆