• 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
AjaxFlexibleFileUpload and ERAttachmentFlexibleUpload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AjaxFlexibleFileUpload and ERAttachmentFlexibleUpload


  • Subject: AjaxFlexibleFileUpload and ERAttachmentFlexibleUpload
  • From: Paul D Yu <email@hidden>
  • Date: Wed, 16 Feb 2011 15:58:34 -0500

Dear List

This is just documentation for a problem that we encountered after upgrading to the latest Wonder.

We had an upload component inside of and AMD and AjaxUpdateContainer, like this

<wo:AjaxUpdateContainer id = "uploadContainer">
  <wo:ERAttachmentFlexibleUpload injectDefaultCSS = "$false" 
                                succeededFunction =  "uploadContainerUpdate();}"
                                attachment = "$avatar" 
                                editingContext = "$editingContext" />
                                <div style = "clear: both;"/>
</wo:AjaxUpdateContainer>

This use to work, but did not after the upgrade.  After working with Dave Leber, thanks Dave for the help, we found that the succeededFunction binding was the issue.  So changing the code to the following fixed our issue.

<wo:AjaxUpdateContainer id = "uploadContainer">
  <wo:ERAttachmentFlexibleUpload injectDefaultCSS = "$false" 
                                succeededFunction =  "function(id){uploadContainerUpdate();}"
                                attachment = "$avatar" 
                                editingContext = "$editingContext" />
                                <div style = "clear: both;"/>
</wo:AjaxUpdateContainer>

I did not test the new style against the old frameworks.  Hope this will help someone in the future.

Paul
 _______________________________________________
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

  • Prev by Date: Re: D2W and non-relational insertion lists.
  • Next by Date: Re: WO server to connect to Apple's Push Notification Service for iOS
  • Previous by thread: Re: D2W and non-relational insertion lists.
  • Next by thread: Inserting quote char into generated output
  • Index(es):
    • Date
    • Thread