-
1. Re: Thank you for rich:editor and a simple fileupload questi
andrei_exadel Jan 9, 2009 5:01 AM (in response to francof)Hello Franco ,
You should rerender fileupload to return it to initial state if file max uploaded quantity has been reached.
You can use events for this purpose (onuploadcomplete, onerror, onclear & etc);
The another solution is set up very big value in 'maxFilesQuantity' attribute to avoid ADD button disabling after each file uploaded. -
2. Re: Thank you for rich:editor and a simple fileupload questi
ilya_shaikovsky Jan 9, 2009 10:13 AM (in response to francof)check the demo example.. there only 5 files could be uploaded. and the button which clears the data - resets the upload. You could do the same in the events that Andrey mentioned.
We've decided that developers will need the point in the component to restrict the files count to be uploaded in real applications and will not allow to upload any count of files in genera cases. -
3. Re: Thank you for rich:editor and a simple fileupload questi
francof Jan 9, 2009 10:42 AM (in response to francof)Thank you both very much for your replies.
I promise to look more closely in future at the example application code before posting for help.
BTW, taking about that, I do like that new components are now flagged with a New icon.
Best regards
Franco