-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fileupload: support multiple files in simple mode #4038
Comments
Technical debts added, see comments: https://sonarcloud.io/component_measures?id=org.primefaces%3Aprimefaces&metric=new_technical_debt |
@mertsincan @Rapster Added another commit comment here: ad123a5#r31276355 |
Sorry for blaming once again, but I cannot agree with changes made in this commit since it's very poor design. Please have a look at Depending on the CTOR being called we either have the single vs. multiple file upload situation. Since there are two separate field members, @Rapster @tandraschko What do you think? |
I definitely agree with your analysis. We'll have to think of a better design... Whenever I have some time, I'll try to propose something |
BTW, in such definition (e.g mode simple + multiple true) only one filename is displayed. Would be nice to fix this before 6.3 |
Reported By PRO User;
Added UploadedFile.getFileNames() method to access uploaded files. Exp; file.getFileNames();
The text was updated successfully, but these errors were encountered: