Hi, one example implementation can be found in the JQuery form plugin, which turns any form to ajax form including fileuploads. http://jquery.malsup.com/form/
- Ville Kalle Korhonen-2 wrote: > > The typical non-Flash way is to do the file upload in an iframe. The > iframe doesn't have to contain more than a simple form with a single > file field. There's some trickery involved getting the UI to work > seamlessly and synchronizing the backend, especially if you need it to > look like it operates together with some other forms and form fields, > but I'm sure you are more than capable to handle it :) I recall > building an iframe-based upload component for Tapestry 4 at some > point. > > Kalle > > > On Thu, Mar 18, 2010 at 4:38 PM, Howard Lewis Ship <[email protected]> > wrote: >> Does anyone have any idea where to start with getting a file upload to >> work as part of an Ajax update? >> >> Ideally, the client side would be able to read the file contents and >> pass those up in the POST as a multipart/mime stream. >> >> However, the JavaScript file elements are carefully guarded against >> any kind of JavaScript behaviors, as a security concern (a valid one). >> >> I'm not sure how other sites manage this; I think they may use an >> embedded Flash movie? Any pointers would be most useful. >> >> -- >> Howard M. Lewis Ship >> >> Creator of Apache Tapestry >> >> The source for Tapestry training, mentoring and support. Contact me to >> learn how I can get you up and productive in Tapestry fast! >> >> (971) 678-5210 >> http://howardlewisship.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Upload-component-vs.-Ajax-Form-Submit-tp27953236p28200446.html Sent from the Tapestry - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
