[richfaces-issues] [JBoss JIRA] Resolved: (RF-2831) fileUpload doesn't enable the "ADD" button after file uploading

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Fri Mar 28 12:52:46 EDT 2008


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

Ilya Shaikovsky resolved RF-2831.
---------------------------------

    Resolution: Rejected

not a bug

maxQuantity means the count of files which will be uploaded from the fileUpload. Not the count of files possible to add to list.
binding for this component reads every time component rendered. But in your case no reRendering of component happens, so after upload it disabled.

to reset fileUpload reRender it or refresh whole page with common submit.

> fileUpload doesn't enable the "ADD" button after file uploading
> ---------------------------------------------------------------
>
>                 Key: RF-2831
>                 URL: http://jira.jboss.com/jira/browse/RF-2831
>             Project: RichFaces
>          Issue Type: Bug
>         Environment: JBoss 3.2.2 GA, RichFaces 3.2.0.RC6, Linux, FF2
>            Reporter: Jim Dummy
>             Fix For: 3.2.0
>
>
> After uploading the button "ADD" stays disabled. Doesn't matter if I put immediateUpload="true" or false.
> The same in Opera 9, FF2, IE7
> <rich:fileUpload
>   immediate="true"
>   fileUploadListener="#{AnySequenceForm.upload}" 
>   uploadData="#{AnySequenceForm.files}" 
>   maxFilesQuantity="1" 
>   immediateUpload="true"
>   autoclear="true">
>     <a4j:support event="onuploadcomplete" ajaxSingle="true" reRender="the_sequence_panel"/>
> </rich:fileUpload>

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