-
1. Re: fileupload add button problem
ilya_shaikovsky Apr 1, 2008 8:37 AM (in response to damnre)Yes you should reRender fileUpload to reinitialize maxFilesQuantity parameter if you need to alow to upload files again.
-
2. Re: fileupload add button problem
rulinsun Apr 8, 2008 2:28 PM (in response to damnre)Which event can be catched for the clicking clear button to reRender?
Thanks! -
3. Re: fileupload add button problem
andrei_exadel Apr 10, 2008 9:18 AM (in response to damnre)Please use onclear attribute for this.
-
4. Re: fileupload add button problem
rmurthi May 10, 2008 2:41 AM (in response to damnre)Ok, I hit this problem as well. I've tried Richfaces 3.2.0.SR1 and 3.2.1-SNAPSHOT to no avail. I set my maxFilesQuantity to 10. The Add button is correctly enabled after I reRender the fileUpload control. However, I can't show the "select file" dialog if I click it. This is my code:
<rich:fileUpload id="logoFileUploader" maxFilesQuantity="10" fileUploadListener="#{offerAction.logoFileListener}" acceptedTypes="gif,jpeg,bmp,png,jpg" <a4j:support event="onclear" reRender="logoFileUploader"/> </rich:fileUpload>
Any ideas please? -
5. Re: fileupload add button problem
rmurthi May 10, 2008 3:26 AM (in response to damnre)Nvmind, I found the way to work around this above issue.
-
6. Re: fileupload add button problem
jigar_k_parekh May 26, 2008 3:09 AM (in response to damnre)Murthi,
Can you tell me solution i have encoutred same problem?
Regards,
Jigar -
7. Re: fileupload add button problem
ilya_shaikovsky May 26, 2008 5:13 AM (in response to damnre)Guys if you reRendered the fileUpload and add button isn't enabled - I think that your valueBinding to maxFilesQuantity still contains 0.