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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Feb 24 15:05:36 EST 2012


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

Brian Leathem updated RF-11977:
-------------------------------

    Fix Version/s: 4.2-Tracking

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