-
1. Re: rich:fileUpload> individual/ dynamic error messages per
ilya_shaikovsky Dec 11, 2009 7:08 AM (in response to leo_dev)transferErrorLabel - reads only once and used for all the upload. Please submit RFC on this functionality.
you could try to handle onerror and and change the labels via just js. -
2. Re: rich:fileUpload> individual/ dynamic error messages per file
jziemke Dec 16, 2009 2:52 AM (in response to leo_dev)Hi Leo,
I find your posting because i run in the same problem then you. Did you find any solution for your problem , in the meantime? If so can you give me a tipp or can you post your solution?
Thanks JZiemke -
3. Re: rich:fileUpload> individual/ dynamic error messages per file
leo_dev Dec 16, 2009 3:45 AM (in response to jziemke)I do a little workaround:
Just holding names of uploaded files and corresponding status/ error messages in server side backing bean.
Client/ Display: The file list of component <rich:fileUpload> is cleared directly (autoclear="true") and I display a separate file list after upload, which also contains the error/ status messages for each file.
This also has positive side effects, since I avoid further unpleasant behavior of the file upload component's file list.
-
4. Re: rich:fileUpload> individual/ dynamic error messages per file
jziemke Dec 16, 2009 4:11 AM (in response to leo_dev)Hi Leander,
thank you for your fast answer .
This is a very good idea for a workaround. At the moment a play around with the 'onerror' event but now i will do it like you.....because my javascript skills are not the best
Have a nice day
Joern