You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ryan McKinley <ry...@gmail.com> on 2008/11/30 19:25:46 UTC

YUI uploader?

Anyone tried using wicket with the YUI uploader?
http://developer.yahoo.com/yui/uploader/
http://developer.yahoo.com/yui/examples/uploader/uploader-advanced-queue_clean.html

This uses a flash object to select files and post them -- all the  
progress is handled on the client side rather then passing ajax info  
back from the server.

The one bit that is non-obvious on how to integrate the script is that  
the javascript takes an upload url as its parameter:

uploader.uploadAll("http://www.yswfblog.com/upload/upload_simple.php",  
"POST", null, "Filedata");
http://developer.yahoo.com/yui/docs/YAHOO.widget.Uploader.html

If you select multiple files, this could be called multiple times --  
you can also upload multiple files simultaneously.

Any thoughts on how to handle this in wicket?  The only solutions I  
can think of are not very wickety (add a servlet and then put stuff  
directly in the Session)

Thanks for any pointers!
ryan