I would like to be able to conditionally omit a footer from a PrimeFaces panel element:
I have come across a similar issue with plain JSF. I am not sure how a
is rendered, but if it is rendered as a table, you can try this:
First, declare a CSS-class like this:
.HideFooter tfoot {
display: none;
}
Then set that class conditionally on the panel:
The footer is still rendered in the JSF-sense, but it is not displayed and does not take up any space in the page when viewed by the user-agent.