I have integrated the inputFileUpload of Tomahawk in my webapplication. I have tried to use it with subform from tomahawk but with no luck.
My form looks like this:
<h:form enctype="multipart/form-data">
<!-- some <h:inputText required="true" /> tags -->
<t:subform id="testSubForm">
<t:inputFileUpload value="#{fileBean.uploadedFile}" />
<t:commandButton action="#{fileBean.submit()}" value="Submit subForm"/>
</t:subform>
</h:form
The problem is that the submit of the subform tries to validate the inputText-tags which are required but not filled.
What am I doing wrong here?