I am using PrimeFaces 5.1.6 (Elite)
When using fileUpload component file object (org.primefaces.model.UploadedFile) is always null.
I have created a single page like this http://www.primefaces.org/showcase/mobi ... Page.xhtml
Removing the tag <f:view renderKitId="PRIMEFACES_MOBILE" /> everything work properly.
In web.xml I have:
Code: Select all
<context-param>
<param-name>primefaces.UPLOADER</param-name>
<param-value>native</param-value>
</context-param>
page with <f:view renderKitId="PRIMEFACES_MOBILE" /> => file always null
Request Header from Upload Stream
Content-Length 1586786
Content-Type multipart/form-data; boundary=---------------------------20773183922614
page without <f:view renderKitId="PRIMEFACES_MOBILE" /> => file org.primefaces.model.NativeUploadedFile
Request Header from Upload Stream
Content-Length 1586644
Content-Type multipart/form-data; boundary=---------------------------1506631681792
Any ideas on this?
Best regards
Luca Vargetto