I have a JSF 2.0 application running under GlassFish 3.1.1, and I wish to use the new FileUpload component in PrimeFaces 3.0.1, which requires that form data be encoded as multipart/form-data
, as in:
<h:form id="quoteform" enctype="multipart/form-data">
However, as soon as I add the above enctype attribute to my form, it no longer works - the bean methods tied to my submit and cancel buttons are never invoked.
I did find a reference to an issue with Mojarra (part of GlassFish I believe) and multipart/form-data encoding, but it's almost two years old - certainly it must have been addressed by now I figure. Is there something else I need to do to use this type of encoding under GlassFish, or something that needs to be updated? And if there is a known issue remaining, what is the culprit?
<h:inputFile>
component. – BalusC