ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
- Subject: ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
- From: Paul Hoadley <email@hidden>
- Date: Sat, 17 Aug 2013 10:52:56 +0930
Hello,
The user experience I'm looking for here is an "in-place" ERAttachment upload.
I've got entities Job -->> Document --> ERAttachment. I have a Job editing page where I'd like the user to be able to upload multiple attachments without a full page refresh, one at a time is sufficient. ERAttachmentUpload works as designed in the context of a full form submit and page refresh, but I've perhaps naively tried to simply throw it into an AjaxUpdateContainer and changed the submit button to an AjaxSubmitButton. This fails pretty much silently, and I assume it's because there's not a full form submission going on—fair enough.
Ideally I want a drop-in replacement for ERAttachmentUpload but that works in an Ajax setting (i.e., something I can just provide with an editing context and a pointer to the ERAttachment object would be great). I don't think AjaxFileUpload or AjaxFlexibleFileUpload will do this out of the box, will they? Does anyone have a 30 second guide for hooking this all up?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden