BTW: Did you even hear about fileUpload working with Ajax?
The implementations that I saw use two different channel. iframe for upload, and a regular ajax call for checking the status (showing the progress bar)
did anyone get a solution to this other than the php one described in the link above?
For example it must be possible as gmail do it with attachments and I'm pretty sure that it is using some asynchronous technique.
If you think about the following, its actually really useful to have an ajax file upload ability:
User has a two field form, name (required) and image and would like to see the image before doing the final submit of form. The name is a simple input text and the image is an input file.
The proposed solution is to upload an image, return to the page with the displayed image in one step and then submit the form in another step.
Problem is that on the submit of the fileupload, jsf validation kicks in and stops the upload if the user hasn't entered a name value. (i.e. because an entire form submit was done to try and get the image uploaded)
How do you get around this?
You need to submit the image either
1) with an immediate ajax4Jsf request or
2) a normal submit which bypasses the JSF validation phase
Does anyone know how to do either or both ?