h:form enctype="multipart/form-data" gets removed
843844Oct 22 2007 — edited Oct 23 2007I tried to create a file upload page using tomahawk 1.1.6, JSF RI 1.2_05-b06-FCS and facelets.
What I found is that the h:form removes the enctype="multipart/form-data" when rendering the JSF page.
In the resulting html page the enctype is entirely missing.
As a result the fileupload doesn't work, since the browser doesn't even send the file.
I read that JSF doesn't support multipart messages, but with this behaviour it prevents other libs like tomahawk accomplishing this task. Does anyone know whether there a way to solve this issue other then patching the FormRenderer?
regards,
Artur