I would like to render a footer (with a specific content) if the datatable content is empty.
I found this How do I conditionally render an <f:facet>? but that doesnt really solve my problem, as it only renderes the footer if the message isnt empty.
<f:facet name="footer">
<h:outputText value="List is empty" rendered="#{empty list}" />
</f:facet>
That does work if the list is empty, but if it isnt empty, this renderes an empty row as a footer...
Any other workaround? Thank you for your help! I'm using MyFaces 2.0.13.