AjaxFlexibleFileUpload and ERAttachmentFlexibleUpload
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