Re: common file upload in a t5 page

2011-11-25 Thread angelochen
Thanks, this really works! @Inject private MultipartDecoder decoder; UploadedFile uf = decoder.getFileUpload("filename"); Taha Hafeez wrote > > Hi Angelo > > It may be because of tapestry-upload jar being in the classpath. > > I think you can still use tapestry support by injectin

Re: common file upload in a t5 page

2011-11-25 Thread Taha Hafeez Siddiqi
Hi Angelo It may be because of tapestry-upload jar being in the classpath. I think you can still use tapestry support by injecting MultipartRequestDecoder in your page ( see Upload component for usage) Sent from my iPhone On Nov 25, 2011, at 4:17 PM, angelochen wrote: > that form is dynamic

Re: common file upload in a t5 page

2011-11-25 Thread Thiago H. de Paula Figueiredo
On Fri, 25 Nov 2011 08:47:46 -0200, angelochen wrote: that form is dynamically generated, so it can not be bound to a Tapestry form. Ok! Instead of trying to implement it as a page, which seems to be not working, have you tried writing it as a dispatcher or a request filter? -- Thiago H

Re: common file upload in a t5 page

2011-11-25 Thread angelochen
that form is dynamically generated, so it can not be bound to a Tapestry form. -- View this message in context: http://tapestry.1045711.n5.nabble.com/common-file-upload-in-a-t5-page-tp5022246p5022498.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: common file upload in a t5 page

2011-11-25 Thread Thiago H. de Paula Figueiredo
On Fri, 25 Nov 2011 06:48:16 -0200, angelochen wrote: Hi, Hi! following is part of code used in a T5 page, I use it to accept a file upload from a regular html form, but after submit, the items parse from serverRequest is always zero, any idea? thanks. Can't you use the Upload component