-
1. Re: fileUpload javascript problem
nbelaevski Jun 5, 2011 6:42 PM (in response to mohammad-noor)Hi Mohammad,
This error means that AJAX response is malformed. Add a4j:log and check what's wrong with it.
For the second question - check showcase sources I believe it should be there.
-
2. Re: fileUpload javascript problem
mohammad-noor Jun 6, 2011 8:59 AM (in response to nbelaevski)Thanks Nick,
but there is no UploadedImage class in the richFaces-showcase 4.
i want to ask how can i specify a single file upload( max files quantity = 1), where the maxFilesQuantity is not available as attribute in richFaces 4, although the rich:fileUpload showcase demo (for richFaces 4) had written that this demo allows you to upload up to 5 files, but this not work, in the demo you can upload any number you want (cause they were not allowed to use this attribute)
also want to ask how can i do immediate Upload, since the immediateUpload is not available in richFaces 4
the immediateUpload and maxFilesQuantity attributes available only for richFaces 3, how can i accomplish their functionalities in version 4
Thanks again
Regards
-
3. Re: fileUpload javascript problem
nbelaevski Jun 6, 2011 2:51 PM (in response to mohammad-noor)I have this class in showcase sources.
maxFileQuantity has not been implemented yet; for immediate uploading you can use JS API.
-
4. Re: fileUpload javascript problem
mohammad-noor Jun 7, 2011 10:09 AM (in response to nbelaevski)Thanks Nick,
i face another problem with rich:fileUpload,
i have a <fileUpload> and <inputText> and there is a fileUploadListener on the fileUpload my problem is i want to get the inputtext value on the fileUploadListener , i tried to add execute attribute on fileUpload but the inputext executed after the fileUploadListener completed .
How can i get the updated value for the inputText in the file upload Listener.
Regards
Mohd.Noor
-
5. Re: fileUpload javascript problem
nilesh.chauhan Sep 15, 2011 4:43 AM (in response to nbelaevski)Nick, can you please let me know how to do immediate uploading using JS API?
Thanks in advance
-
6. Re: fileUpload javascript problem
nbelaevski Sep 15, 2011 12:36 PM (in response to nilesh.chauhan)Hi,
Try using __startUpload or __submit.
-
7. Re: fileUpload javascript problem
nilesh.chauhan Sep 19, 2011 3:29 AM (in response to nbelaevski)you mean using this events __startUpload or __submit with a4j:ajax tag?.
Where can i find the events for upload or for any components?
Is there any example available for above events for upload or can you share and put some light on the same?
-
8. Re: fileUpload javascript problem
alex.tracer Oct 18, 2011 2:25 AM (in response to nilesh.chauhan)Seems like there is no way to implement immediate file uploading in RichFaces 4.0.0. There are just no suitable JS events for this.
-
9. Re: fileUpload javascript problem
nilesh.chauhan Nov 9, 2011 1:14 AM (in response to alex.tracer)Hi Nick,
Any updates on JS event to implement the immediate upload functionality?
Thanks
-
10. Re: fileUpload javascript problem
maze_fr Dec 8, 2011 11:29 AM (in response to nilesh.chauhan)Here is what I did : http://community.jboss.org/thread/175920
-
11. Re: fileUpload javascript problem
nilesh.chauhan Dec 9, 2011 1:25 AM (in response to maze_fr)Problem of immediate upload resolved with a very little changes check here : http://community.jboss.org/message/640689#640689