Well, the easiest way is to have several Upload components in the form all backed to different IUploadFile properties in your class. If perchance you needed to have a dynamic number of files then you could probably get away with making an array of IUploadFiles to use.
-Nick On 9/19/05, Manjith Kumar Adapa <[EMAIL PROTECTED]> wrote: > > Hi Nick, > > I am sorry to disturb u... > But it seems that u have done much work in > File Uploading how do u upload more than 1 file in tapestry 4.0 > > Thanks, > Manjith > > -----Original Message----- > From: Nick Stuart [mailto:[EMAIL PROTECTED] > Sent: Monday, September 19, 2005 6:34 PM > To: Tapestry users > Subject: IUploadFile problems between requests > > It seems as though I'm having problems with a Persistent IUploadFile > property. Whats happening is that the actual data of the file is > getting lost somewhere if I try to span a couple of requests. Its odd > because the file name (gotten by upload.getFileName()) always stays > around, but when I got to do upload.write(file) I get a NPE coming out > of Commons File Uploader. =( > > Anyone seen this before? If I upload the file and process it all in > the same request then everything works fine and it gets uploaded > correctly. I've tried saving the file in a seperate property that is > not used in to form (thinking my form property was getting over > written each time), but that had the same affect. > > Any advice? > -Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
