I am trying to trigger a p:fileDownload
using PrimeFaces from a command button in a data table.
It is working with Ajax="false"
, but I need to ensure page validation is bypassed. I have tried setting immediate="true"
on the command button but it doesn't work.
Any advice appreciated.
Should immediate="true"
work in this instance?