• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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

  • Follow-Ups:
    • Re: ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: Re: The coming WOpocalypse?
  • Next by Date: Re: ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
  • Previous by thread: Re: The coming WOpocalypse?
  • Next by thread: Re: ERAttachmentUpload in an AjaxUpdateContainer with AjaxSubmitButton
  • Index(es):
    • Date
    • Thread