I did face this issue once. I think the issue is with upload.js in tapestry-upload.js
Tapestry.Initializer.injectedUpload = function(element) { var form = $(element).form; form.enctype = "multipart/form-data"; form.encoding = "multipart/form-data"; } $(element).form returns null for partial updates. regards Taha On Apr 11, 2012, at 5:46 PM, François Facon wrote: > Hi Boris, > > AjaxUpload works fine with christian sample > https://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/pages/AjaxUploadTest.tml > on jetty > > Could you give us more details regarding your dependencies > - tapestry-upload, > - commons-fileupload > - tapestry-jquery > are you using jetty? > > also extract from your .tml and .java are welcome. > > Regards > > > > 2012/4/11 bhorvat <horvat.z.bo...@gmail.com>: >> Hi all, >> >> I have already wrote about a similar thing but did get any ideas how to >> solve it then (and at the point it was a minor thing I had a bigger >> problem). >> >> I have a zone and inside I have a image upload, when the zone is refreshed >> an image upload throws an exception >> >> TypeError: Cannot set property 'enctype' of undefined >> [http://localhost:8080/assets/0.55-SNAPSHOT/jquery/tapestry-jquery.js:904] >> >> Anyone has any idea how to fix this or how to handle the exception since it >> is preventing javascript from working? I dont know how to catch and handle >> this exception, natrualy I would prefer to fix the problem in the first >> place. >> >> So did anyone came across this? Any ideas? >> >> cheers and thanks all >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Zone-refresh-image-uplaod-tp5631622p5631622.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org