Type: New Feature
Affects Version/s: 2.2
Fix Version/s: None
HTML 5 has a new attribute on input file: multiple.
When present, the user agent must allow the file chooser to select multiple files.
While the pass through attributes feature allows this to render correctly:
The renderer for javax.faces.Input javax.faces.File doesn't handle this case correctly.
Instead, as it iterates through the parts, it just overwrites the preceding part with each file in the uploaded collection.
I think a better strategy is to always have the value of the component be a List<Part> instead of just Part.