I have a Primefaces Datatable component and I need to put a custom attribute on it. I tried with <f:passThroughAttribute name="customP" value="1" /> but when it renders it puts the attributes into a wrapper div, insted of the <table> tag.
Is there a way to send that custom attribute like this <table customP="1">