Has anyone looked into how the Gmail "attach a file" link works? They don't seem to display an <input type="file"> control (unless it's heavily modified via css) and they let you attach an arbitrary number of files fairly easily albeit with multiple invocations of the Choose File dialog.
I suspect if there was any way to make the "Choose file" dialog select multiple files in a single invocation then the gmail developers would have done it. The gmail file upload interface would make a nice JSF control if it is not out there already. > -----Original Message----- > From: David G. Friedman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 29, 2005 6:39 PM > To: MyFaces Discussion > Subject: RE: <x:inputFileUpload - How to upload multiple files at once? > > Heath, > > I'll debate that. I recall a Struts posting where someone made a custom > class to detect and process multiple files in a SINGLE file upload field. > But, we're not Struts, are we? LOL. > > Regards, > David > > -----Original Message----- > From: Heath Borders [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 29, 2005 6:33 PM > To: MyFaces Discussion > Subject: Re: <x:inputFileUpload - How to upload multiple files at once? > > > I don't think that the HTML element <input type="file"> supports > multiple files. I think you can only select a single file. > > > On Tue, 29 Mar 2005 17:02:59 -0600, Jonathan Eric Miller > <[EMAIL PROTECTED]> wrote: > > I'm guessing he's talking about doing it with a single component. I > think > in > > theory, it is possible to do this (assuming I was reading the > > commons-fileupload documentation correctly) using an <input > type="file"/>. > > However, if I remember correctly, the MyFaces component didn't look like > it > > supported that. If I remember correctly, it looked like it assumed that > one > > file was being uploaded. I never tested it with multiple files. > > > > Jon > > > > ----- Original Message ----- > > From: "Heath Borders" <[EMAIL PROTECTED]> > > To: "MyFaces Discussion" <[email protected]>; "Victor > Gomez" > > <[EMAIL PROTECTED]> > > Sent: Tuesday, March 29, 2005 4:19 PM > > Subject: Re: <x:inputFileUpload - How to upload multiple files at once? > > > > > Do you mean using more than one <x:inputFileUpload /> or using a > > > single <x:inputFileUpload />? > > > > > > > > > On Tue, 29 Mar 2005 17:10:48 -0500, Victor Gomez <[EMAIL PROTECTED]> > wrote: > > >> Is there a way to upload multiple files using the x:inputFileUpload > > >> component? > > >> Any directions/suggestions are welcomed. > > >> Thank you. > > >> > > > > > > > > > -- > > > -Heath Borders-Wing > > > [EMAIL PROTECTED] > > > > > > > > > > -- > -Heath Borders-Wing > [EMAIL PROTECTED] >

