[richfaces-issues] [JBoss JIRA] (RF-11977) Multiple fileUpload controls on the same page do not work

Roxana Roxana (JIRA) jira-events at lists.jboss.org
Mon Feb 13 07:58:00 EST 2012


Roxana Roxana created RF-11977:
----------------------------------

             Summary: 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
    Affects Versions: 4.1.0.Final
         Environment: IE7,8,9, FireFox, Google Chrom
            Reporter: Roxana Roxana
            Priority: Critical


Situation:
Two rich:fileUpload controls, in the same form.
When:
1) choose first file for upload
2) choose second file for upload
3) 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:

<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>




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list