]
Brian Leathem updated RF-11977:
-------------------------------
Component/s: component-input
(was: component)
Multiple fileUpload controls on the same page do not work
---------------------------------------------------------
Key: RF-11977
URL:
https://issues.jboss.org/browse/RF-11977
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.1.0.Final
Environment: IE7,8,9, FireFox, Google Chrome
Reporter: Roxana Balaci
Priority: Critical
Fix For: 4.2-Tracking
Attachments: rf-11977-chromium-afterClickOn2ndUploadBtn.png,
rf-11977-Chromium.png, rf-11977-ff11.png
Situation:
Two rich:fileUpload controls, in the same form.
When:
# choose first file for upload
# choose second file for upload
# click upload button for the first file
The first control disappears from the page and you cannot upload the second file (the
upload event is never caught).
Could you please indicate a solution for this problem?
Thank you very much!
Part of the code used for testing is the following:
{code}
<h:form id="uploadForm">
<rich:panel>
<rich:panel>
<rich:fileUpload id="uploadFile1"
fileUploadListener="#{bean.method1}" maxFilesQuantity="1"
immediateUpload="true" listHeight="65px"</rich:fileUpload>
</rich:panel>
<rich:panel>
<rich:fileUpload id="uploadFile2"
fileUploadListener="#{bean.method2}" maxFilesQuantity="1"
immediateUpload="true" listHeight="65px"</rich:fileUpload>
</rich:panel>
<rich:panel>
<a4j:commandButton id="addB" value="value"
action="#{bean.method3}"
render="stg" />
</rich:panel>
</rich:panel>
</h:form>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: