RE: multiple file uploads with one property

2005-05-06 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> http://issues.apache.org/bugzilla/show_bug.cgi?id=25963 I applied the suggested patch, and tested it. Looks like it works, though I'm not exactly sure what an automated test script would like for this use case. BTW, does anyone else find the ASCII art in this test hilarious? http://tinyu

RE: multiple file uploads with one property

2005-05-05 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> There are these tickets related to this: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=6847 > http://issues.apache.org/bugzilla/show_bug.cgi?id=25963 > http://issues.apache.org/bugzilla/show_bug.cgi?id=29807 Hmm, yeah ok, I'll look at these. It would be nice if this were fixed before 1

Re: multiple file uploads with one property

2005-05-05 Thread Niall Pemberton
Apologies, I'm not an expert in FileUpload. However I believe the Commons FileUpload will handle multiple files - since what it does is basically parse the request and return a list of items. I think the issue is probably in Struts. There are these tickets related to this: http://issues.apache.org

RE: multiple file uploads with one property

2005-05-05 Thread Durham David R Jr Ctr 805 CSPTS/SCE
/SCE > Sent: Thursday, May 05, 2005 11:16 AM > To: Struts Users Mailing List > Subject: multiple file uploads with one property > > Tried using a property like this: > > type="org.apache.struts.validator.DynaValidatorForm"> > type="org.apache.struts

multiple file uploads with one property

2005-05-05 Thread Durham David R Jr Ctr 805 CSPTS/SCE
Tried using a property like this: But I get the following class cast exception: org.apache.commons.beanutils.ConversionException: Cannot assign value of type rg.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFile' to property 'files' of type '[org.apache.struts.upload.FormF

Re: Multiple file uploads

2004-04-16 Thread Michael McGrady
http://wiki.apache.org/struts/StrutsCatalogInstrumentableForms At 10:36 PM 4/15/2004, Andrew Stevens wrote: Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I want to offer a theoretically i

RE: Multiple file uploads

2004-04-16 Thread Michael McGrady
, April 16, 2004 2:37 PM To: '[EMAIL PROTECTED]' Subject: Multiple file uploads Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I want to offer a theoretically infinite number

Re: Multiple file uploads

2004-04-16 Thread Michael McGrady
I think that I provided a solution to this in the struts wiki. See under BeanMapForms. At 10:36 PM 4/15/2004, Andrew Stevens wrote: Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I want

Re: Multiple file uploads

2004-04-16 Thread Joe Germuska
At 3:36 PM +1000 4/16/04, Andrew Stevens wrote: Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I want to offer a theoretically infinite number of file uploads in one form. 0 to 5 files is re

RE: Multiple file uploads

2004-04-16 Thread amr
cc Subject Please respond to RE: Multiple file uploads "Struts Users

RE: Multiple file uploads

2004-04-16 Thread Andrew Hill
[mailto:[EMAIL PROTECTED] Sent: Friday, 16 April 2004 13:37 To: '[EMAIL PROTECTED]' Subject: Multiple file uploads Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I

RE: Multiple file uploads

2004-04-16 Thread Prasad, Kamakshya
Use indexed properties. Link for the same http://jakarta.apache.org/struts/faqs/indexedprops.html -Original Message- From: Andrew Stevens [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:37 PM To: '[EMAIL PROTECTED]' Subject: Multiple file uploads Hi, I'

Multiple file uploads

2004-04-15 Thread Andrew Stevens
Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I want to offer a theoretically infinite number of file uploads in one form. 0 to 5 files is realistic. But I don't want to limit it. My und