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

Alexey Kakunin (JIRA) jira-events at lists.jboss.org
Fri Jan 16 11:54:04 EST 2009


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


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