0
Component p:fileUpload is not limiting the files contained in allowTypes. Has anyone ever had this kind of problem?
<p:fileUpload id="certificado" mode="simple" dragDropSupport="false" multiple="false" update="msgValidacao" sizeLimit="10000" fileLimit="1" allowTypes="/(\.|\/)(pfx|p12)$/" skinSimple="true" value="#{companyBean.fileCertificate}" />
Ola Jeremias, in mode simple does not work, only Advanced, size limit also does not work in this mode.
– Dilnei Cunha
Excellent. I was with this suspicion but did not see in the documentation reporting such. Thank you.
– Jeremias Santos