[richfaces-issues] [JBoss JIRA] Closed: (RF-5769) autoclear="true" in rich:fileUpload is not enabling "Add File" button back

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Mon Feb 23 04:21:45 EST 2009


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

Alexander Dubovsky closed RF-5769.
----------------------------------

    Assignee: Alexander Dubovsky  (was: Tsikhon Kuprevich)


Not a bug

> autoclear="true" in rich:fileUpload is not enabling "Add File" button back
> --------------------------------------------------------------------------
>
>                 Key: RF-5769
>                 URL: https://jira.jboss.org/jira/browse/RF-5769
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: jdk 1.6, linux centOS, tomcat 6.0, jsf-ri 1.2
>            Reporter: Alexey Kakunin
>            Assignee: Alexander Dubovsky
>
> if to use autoclear="true" in rich:fileUpload, it clears content of control (removed all files) - but kept "Add File" disabled. For example:
> <rich:fileUpload id="uploadControl" fileUploadListener="#{attachmentUploadController.upload}"
> 	  						 				maxFilesQuantity="1" 
> 	  						 				immediateUpload="false"
> 	  						 				autoclear="true">
> </rich:fileUpload>
> after adding one file into control button "Add File" become disabled (because only one file is allowed for upload). After uploading,  control is cleared (file is removed from list), but button "Add File" kept disabled (even no any file is displayed in the list)
> Not 100% sure, but looks like bug exists from initial control implementation in 3.2.0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list