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

Ján Jamrich (JIRA) jira-events at lists.jboss.org
Thu Feb 16 09:52:36 EST 2012


     [ https://issues.jboss.org/browse/RF-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ján Jamrich reassigned RF-11977:
--------------------------------

    Assignee:     (was: Ján Jamrich)


Issue simulated (https://github.com/richfaces/qa/commit/1287a4fcddfb23d13462f0caf8cd1411c36c9914)

Second "Upload" button didn't disappeared for me when click on first "Upload", but disappeared immediately when click on it.
Listener bound to second fileUpload component was not invoked at all.
                
> 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 Chrome
>            Reporter: Roxana Balaci
>            Priority: Critical
>
> 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: 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