Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
239 views
in Technique[技术] by (71.8m points)

asyncfileupload - grails asynchronous file upload

Is there true asynchronous/ajax file uploading in grails that hooks into the default "busy" spinner (the one that shows on other ajax calls)?

Or if I wanted to show that spinner during a file upload would I need to call is explicitly?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This is one of those things that you usually want some help from a third party because of some of the complexities and restrictions behind the exchange.

Some plugins are available for jquery that use Flash to accomplish this but I prefer to avoid anything that uses Flash (personal preference). Check out Valums Ajax-Upload I've used it now for about a year in my production site and it works well and was easy to use. My favorite thing about the plug-in is that it's unobtrusive to the design and layout of most any site.

Also, this is a commonly asked question. Check out these answers as well...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...