a4j's application/x-www-form-urlencoded comes from the Ajax-Request. There are other components like Tomahawk that support direct File-Upload (as you defined in your code snippet, see http://ertantoker.blogspot.com/2009/03/fileupload-mit-apache-tomahawk.html). Tomahawk also provides own commandButtons, but multipart/form-data should work with RF4.
thanks for your help. In fact Tomahawk inputFileUpload component works with Richfaces 4, but only with h:commandButton. So, there reason why it did not work for me was about using a4j:commandButton. Now what if I want to show a popup window after user uploaded a file? Is it possible with h:commandButton?
1 of 1 people found this helpful
I see your point. Thanks for helping me out.