在上图中,上传第二个文件时,它显示了第一个文件上传的进度条
<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>
如何保持正确的方式,任何人都可以帮忙