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.
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
I have this class in showcase sources.
maxFileQuantity has not been implemented yet; for immediate uploading you can use JS API.
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.
Nick, can you please let me know how to do immediate uploading using JS API?
Thanks in advance
Try using __startUpload or __submit.
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?
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.
Any updates on JS event to implement the immediate upload functionality?