On 2010-04-28, at 11:26 PM, Mike Schrag wrote: > One thing that would be nice is a javascript function to start the upload and > a callback on completion ... This would potentially allow a solution to file > uploads in ajax forms -- you could have a "submit button" that when clicked, > grayed out the submit ("sending..."), starts the upload in the form, and on > completion, it could then actually perform the ajax submit of the rest of the > form.
Yeah, I think I can implement that without much trouble, and I can see that being a nice way to handle uploads in forms. > > ms > > On Apr 28, 2010, at 11:23 PM, Mike Schrag wrote: > >> i dig it ... i've never been happy with how AjaxFileUpload worked and the >> funky limitations it had. >> >> On Apr 28, 2010, at 11:17 PM, David LeBer wrote: >> >>> Hey all, >>> >>> Because of the way inline edit pages work in ERModernLook all of the >>> standard file upload components don't. >>> >>> So I've been working on one that will. I've got to say it's a pig of a >>> problem. Mike had already done some heavy lifting on AjaxUpload but it >>> required it's own form. Andrew Valums AjaxUpload.js >>> <http://valums.com/ajax-upload/> helps work around that. But getting the >>> behaviour just right is tough. Widespread adoption of HTML5's file object >>> cannot get here fast enough for me. >>> >>> Anyway, here is a sample movie of what I've been working on, I'd love >>> feedback on whether the UI behaviour makes sense. >>> >>> <http://files.me.com/dav1d/bkh7bx.mov> ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com