I'm trying to upload some files to the server. I initially tried the <rich:fileUpload> element, which works just fine. However, there is one problem, since JSF 4 the immediateUpload flag seems to be missing and i really need the file to be uploaded once the user hits the "open" button on the file open dialog. Is there a way to just open a file dialog and uploading the selected file after clicking on open? It doesnt have to be the <rich:fileUpload> element, anything that works is fine.