fileupload进度栏放错了撇号

时间:2019-11-04 15:26:20

标签: primefaces jsf-1.2

Primeface form

在上图中,上传第二个文件时,它显示了第一个文件上传的进度条

<h:panelGroup>
    <h:outputText id="keyupload" value="Key file(extension should be .key)"/>
    <p:fileUpload id="keyfileUpload" label="Upload KeyFile" fileUploadListener="#{exampleBean.keyFileUpload}" mode="advanced" auto="true" allowTypes="/(\.|\/)(crt|key)$/" />
</h:panelGroup>

<p:separator id="separator1"/>

<h:panelGroup>
    <h:outputText id="certupload" value="Certificate and Key file(extension should be .crt)"/>
    <p:fileUpload id="crtUpload" label="Upload File" fileUploadListener="#{exampleBean.crtFileUpload}" mode="advanced" auto="true" allowTypes="/(\.|\/)(crt|key)$/" />
</h:panelGroup>

如何保持正确的方式,任何人都可以帮忙

0 个答案:

没有答案