I have some issues with the
in Primefaces. At first I tried the snippets in the Documentation of Fileupload starting on page 2018.
The firs
The documentation says
Advanced File Upload
FileUploadListener is the way to access the uploaded files in this mode, when a file is uploaded defined fileUploadListener is processed with a FileUploadEvent as the parameter.
Add the fileUploadListener with a FileUploadEvent parameter. Make the button AJAXical. Lose the enctype. Don't bother with fileUpload's value.