Code: Select all
...
<p:column headerText="Sample">
<p:fileUpload mode="advanced" auto="true" fileUploadListener="#{addItembean.handleSampleUpload}"/>
</p:column>
...
p:ajax cannot be used with file upload. I need to use advanced mode of fileupload, because I cannot use ajax="false" on p:commandButton which sends whole form.
How can I do that?
thanks in advance.