FileUpload component has been rewritten from scratch to fix the problems of old one and provide new features. It is powered by HTML5 (File API) and has graceful degradation for legacy browsers (e.g. IE8, IE9).
- Two modes (Simple and Advanced)
- Multiple file selection from file dialog
- Progress Tracking
- DragDrop support from filesystem
- Graceful Degradation (e.g. IFrame uploads instead of XHR2)
- Merge mode to send all files in one request
- Commons FileUpload for JSF 2.1 and Servlet 3.0 Multipart for JSF 2.2
- Customizable Image Preview
- File count limit, size limit and type limit.
- Auto Uploads
- Callbacks like start, error and complete
- Customizable validation error messages
New FileUpload will be available in PrimeFaces ELITE 3.5.9 and 4.0 (codename SENTINEL).