Ajax4jsf File Upload
I want to upload a file with AJAX in a JSF application. The idea is that as soon as the user selects the file, it is uploaded, and a preview is shown. Currently I am using t:inputFileUpload and have the code to insert the image in a database and show the preview. I tried a4j:support but it did not work.
Many t开发者_如何学运维hanks, Panayiotis
Try the Richfaces file-upload component
http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf
Regards.
精彩评论