views:

21

answers:

1

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 thanks, Panayiotis

A: 

Try the Richfaces file-upload component

http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf

Regards.

StudiousJoseph
Thanks. That's what I ended up using.
Panayiotis Karabassis