I am using JSF framework with apache’s tomahwak library.
how can i select multiple files using inputFileUpload tag in JSF?
I am using JSF framework with apache’s tomahwak library. how can i select multiple
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That’s not possible.
Tomahawk’s
<t:inputFileUpload>renders a HTML4<input type="file">element which at its own already doesn’t support multiple file selection. You need to look for another JSF component which renders a HTML5<input type="file" multiple>(which has currently however limited browser support) and/or uses undercovers a Flash Application or a Java Applet instead for the job.As far as it comes to mind, PrimeFaces is the only component library with such a component. RichFaces has also a multi file uploader, but you can only select a single file at once.