RE: Upload woes

2006-02-23 Thread Raphaël Jean
udi 23 février 2006 18:36 > To: Tapestry users > Subject: Re: Upload woes > > Thank you guys. I'm unable to use SVN at work (firewall). Is there another > way I can get the latest code with the patch? I read the wiki and the how- > to > applies to only SVN. Also,

Re: Upload woes

2006-02-23 Thread Jason Suplizio
-Original Message- > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > > Sent: jeudi 23 février 2006 18:03 > > To: Tapestry users > > Subject: Re: Upload woes > > > > Thank you very much for the patches Raphael :) Very thorough and come > with > > unit tes

RE: Upload woes

2006-02-23 Thread Raphaël Jean
jeudi 23 février 2006 18:03 > To: Tapestry users > Subject: Re: Upload woes > > Thank you very much for the patches Raphael :) Very thorough and come with > unit tests! > > Can you confirm that they are working? > > On 2/22/06, Raphaël Jean <[EMAIL PROTECTED]> wrote: &

Re: Upload woes

2006-02-23 Thread Jesse Kuhnert
anch without problem. > > For my part, I'm off to bed... > > Raph > > > -Original Message- > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > > Sent: mercredi 22 février 2006 23:48 > > To: Tapestry users > > Subject: Re: Upload woes >

RE: Upload woes

2006-02-22 Thread Raphaël Jean
hat problem did you have with the patch? > > It should be applied to the release-4.0 tag in tapestry svn. > > > > Let me know if I can help. > > > > Raphael Jean > > EntropySoft > > > > > -Original Message- > > > From: Jesse Kuhnert

Re: Upload woes

2006-02-22 Thread Wayland Chan
I think that means you are deploying a servlet.jar (or servlet_api.jar) for an earlier version of Servlet/JSP than what your servlet engine is running. i.e. including a 2.3 jar on a Tomcat using 2.4. The servlet.jar is typically only required as a build-time dependency and shouldn't be included as

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
e know if I can help. > > Raphael Jean > EntropySoft > > > -Original Message- > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > > Sent: mercredi 22 février 2006 22:36 > > To: Tapestry users > > Subject: Re: Upload woes > > > > I'm glad i

Re: Upload woes

2006-02-22 Thread Jason Suplizio
I noticed this in my log... WebappClassLoader: validateJarFile (C:\eclipse\workspace\project\web\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > I stepped out

RE: Upload woes

2006-02-22 Thread Raphaël Jean
To: Tapestry users > Subject: Re: Upload woes > > I'm glad it's working for you, because trying to apply this patch has been > a > lot of non-fun. > > On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > > > I stepped out for lunch...back

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
I'm glad it's working for you, because trying to apply this patch has been a lot of non-fun. On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > I stepped out for lunch...back now. Yes, I've got the tacos demos > localized > and have stepped through your code (and learning a few tricks from

Re: Upload woes

2006-02-22 Thread Jason Suplizio
I stepped out for lunch...back now. Yes, I've got the tacos demos localized and have stepped through your code (and learning a few tricks from it as well ;-) I tested it with the file size and the "request was rejected because its size (11890441) exceeds the configured maximum" was thrown. I'll ke

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
If you give me a little bit I can take a quick look at a recent patch submission for file uploads. Assuming it isn't to crazy to confirm and you don't have a problem building your own tapestry jar it might be possible this fixes whatever IUpload file problems you are having. On 2/22/06, Jesse Kuhn

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
If you don't use the IUpload component then tapestry won't know to make you form post submission a "multipart" submission, which is what is required if you want to stream data from your client browser to the server. Have you tried to get the tacos demo up and running at all? It could just be an en

Re: Upload woes

2006-02-22 Thread Jason Suplizio
If you're using it in production, you would know. Can you tell me, is there another way in Tapestry to get the import file without using the Upload component? For some reason IUploadFile abstract accessor is not getting set and the listener is not called using the UPload component. This problem has

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
Are you sure? I'm using it in a production application right now and the files most definitely are being uploaded. You can also see this on the demo because if you try and upload anything over 10m it throws an error. On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > Jesse, > I examined yo

Re: Upload woes

2006-02-22 Thread Jason Suplizio
Jesse, I examined yours and I don't believe yours is binding the file to the abstract accessors /** Gets the uploaded file */ public abstract IUploadFile getImportFile(); /** Sets the uploaded file */ public abstract void setImportFile(IUploadFile importFile); And not

Re: Upload woes

2006-02-22 Thread Jason Suplizio
Thanks everyone. For the record, I've tried using just the @Upload component numerous times (and even my own version of it) before resorting to my last ditch usage of the Any component...why? I just needed to be able to easily grab ahold of the component from the getPage() method...just to see what

Re: Upload woes

2006-02-22 Thread spamsucks
While I have not announced it's release yet (officially), there is an upload component that you can use (or steal the code for) in stitches (a tapestry-based library of components). http://www.authsum.com/site/stitches/ The upload component uses the tapestry upload component, and takes care o

Re: Upload woes

2006-02-22 Thread Todd O'Bryan
The fact that you're using @Any worries me. You should be using a jwcid="@FileUpload" in order for it to work. Have you looked at the Tapestry component reference? Also, try creating it in a page and getting it working first, then try to component-ize it. Todd On Feb 21, 2006, at 11:14 P

Re: Upload woes

2006-02-21 Thread Jesse Kuhnert
Sounds very frustrating. Though my resources are constrained, I can only meekly point to the tacos.sourceforge.net web demo...Where there is a ~working~ page demonstrating using the IUpload component in a form. ? jesse On 2/21/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > We've tried numerou