Primefaces 文件上载进度条放错位置
在上图中,当上传第二个文件时,它显示了第一个文件上传的进度条Primefaces 文件上载进度条放错位置,primefaces,jsf-1.2,Primefaces,Jsf 1.2,在上图中,当上传第二个文件时,它显示了第一个文件上传的进度条 <h:panelGroup> <h:outputText id="keyupload" value="Key file(extension should be .key)"/> <p:fileUpload id="keyfileUpload" label="Upload KeyFile" fileUploadListener="#{exampleBean.keyFileUpload}" m
<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>
如何保持正确的方式,请任何人提供帮助请添加一个并说明您使用的是哪个版本。您确定您使用的是JSF 1.2吗?我没有否决,但请阅读并说明您的PF版本