Andreas, thanks for the reply!
--> how did you enable the IFrame transport? i added "dojo.require("dojo.io.IframeIO");" to a script file. However, this was insufficient. IframeTransport.canHandle() fails for two reasons: - the response type that tapestry was requesting was "text/xml" - and as the bug you emailed me notes, that is not a supported format for the IframeIO - it also appears that the IframeIO also requires the call to be synchronous. tapestry passes the request as async. This might be a little naive, but can I avoid the problems the IFrame has with "text/xml" by specify that the response should come as JSON? Carlos Andreas Andreou <[EMAIL PROTECTED]> wrote: See Unfortunately, dojo decided to skip support for XML return types for IframeIO (which is needed for file uploads) due to problems with making it cross-browser. What this basically means for Tapestry is that async submit of forms having files cannot return the expected xml responses... however, i believe that the requests do actually take place - how did you enable the IFrame transport? Another idea (i think someone had mentioned doing this in this ML) is to have a separate form just for the uploads or (even better) investigate how to integrate one of those flash uploaders... On Mon, May 19, 2008 at 5:43 PM, Carlos F wrote: > After trying to async submit a form with a file upload field for a few hours > I trolled around the message board and JIRA and ran across this: > > http://issues.apache.org/jira/browse/TAPESTRY-1348 > > Is trying to async submit a form with a file upload field a DEAD END? > > We tried to add the IFrame transport mechanism . . . however this did not > trigger the request. Looking at the code it appears that the IFrame > transport mechanism does not support async submissions etc. The tacos bug > system has a related bug that mentions other changes that may be necessary to > fix this: > > http://tacoscomponents.jot.com/BugReporter/Bug62 > > Has anyone been able to successfully async submit a form with a file upload > field? > > Carlos > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]