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

Nick Belaevski resolved RF-5769.
--------------------------------

    Resolution: Rejected
      Assignee: Tsikhon Kuprevich


Not a bug - fileUpload component is designed in this way: 
http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/fileUpload.html

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to