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      (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

Reply via email to