Re: Form - asyn submission with file upload

2008-06-15 Thread Kalle Korhonen
Just ran into the same use case myself; I would like to use an asynch form with a file upload in T4.1.5 app. I wonder if anybody has solved this already. Carlos, how did you go about doing it? Kalle On Mon, May 19, 2008 at 2:08 PM, Carlos F <[EMAIL PROTECTED]> wrote: > Andreas, > > thanks for t

Re: Form - asyn submission with file upload

2008-05-19 Thread Carlos F
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

Re: Form - asyn submission with file upload

2008-05-19 Thread Andreas Andreou
See http://trac.dojotoolkit.org/ticket/524 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

Form - asyn submission with file upload

2008-05-19 Thread Carlos F
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 trans