Component p: fileUpload is not limiting the files contained in allowTypes

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}" />
    
asked by anonymous 21.08.2016 / 03:27

0 answers