On Wed, Oct 15, 2008 at 2:29 PM, Simon Kitching <[EMAIL PROTECTED]> wrote: > As Matthias noted, the HTML fileupload component only supports one file. And > there is absolutely no way to implement file-uploading in plain html without > this component. > > I would guess that they use DHTML to dynamically add multiple copies of the > html fileupload control to the page. And probably use javascript to scan the
correct. Like gmail does as well (the "Attach another file" link); Isn't that hard to implement that using ajax (ppr requests) and JSF. > filename property and reset the component if the filename doesn't match the > filter criteria. I'm sure there is some fairly ugly javascript behind all > that... True, a reset, like inputFileElement.value = null; isn't possible at all (due to security). What we do in ADF is doing a reset, by removing the complete html element and re-create it (with same attribute values, expect for the "value" attribute) -M > > Cheers, Simon > > Hazem Saleh schrieb: >> >> Fantastic! >> >> On Wed, Oct 15, 2008 at 2:08 PM, Adrian Mitev <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> Or maybe richfaces fileupload - >> http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf >> >> On Wed, Oct 15, 2008 at 2:42 PM, Hazem Saleh <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> > You can develop your own client applet. >> > For this you can use Apache HTTP Client library, it is a good one! >> > >> > On Wed, Oct 15, 2008 at 1:19 PM, Andreas Niemeyer >> > <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> >> >> Hi, >> >> >> >> Is there a component available which enables multi uploads? I >> would like >> >> to use tomahawk or trinidad components if available. >> >> >> >> Solutions often use flash for that, what kind of integration or >> idea could >> >> be used for that? >> >> >> >> >> >> Thank you for some hints. >> >> >> >> >> > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf

