[richfaces-issues] [JBoss JIRA] Resolved: (RF-2971) fileUpload disables button 'Add' and doesn't enable it after clearing file list

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Fri Apr 4 07:48:21 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2971?page=all ]

Ilya Shaikovsky resolved RF-2971.
---------------------------------

    Resolution: Rejected

Not a bug.

fileUpload designed to read maxFileQuantity property once after initial rendering. 
Clear - just client side control which clears the list.

In order to reset available count of files you should reRender the upload. or it will be also available after full page rendering.

check demo example which also controls available downloads (there only 5 files could be available.)

> fileUpload disables button 'Add' and doesn't enable it after clearing file list
> -------------------------------------------------------------------------------
>
>                 Key: RF-2971
>                 URL: http://jira.jboss.com/jira/browse/RF-2971
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Alexander Belov
>         Assigned To: Ilya Shaikovsky
>             Fix For: 3.2.1
>
>
> I have the following:
> <rich:fileUpload maxFilesQuantity="1" uploadData="#{uploadProcessDefinitionBean.uploadData}" required="true" immediateUpload="true"/>
> Button "Add" is active. I upload file and press "Clear". File list is empty, but "Add" button is disabled. It is impossible to upload another file.

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

        



More information about the richfaces-issues mailing list