title: JSF conditionally render footer (jsf facet)
body: <p>I would like to render a footer (with a specific content) if the datatable content is empty.</p>
  
  <p>I found this <a href="https://stackoverflow.com/questions/4369114/how-do-i-conditionally-render-an-ffacet">How do I conditionally render an &lt;f:facet&gt;?</a> but that doesnt really solve my problem, as it only renderes the footer if the message isnt empty.</p>
  
  <pre><code> &lt;f:facet name="footer"&gt;
        &lt;h:outputText value="List is empty" rendered="#{empty list}" /&gt;
   &lt;/f:facet&gt;
  </code></pre>
  
  <p>That does work if the list is empty, but if it isnt empty, this renderes an empty row as a footer...</p>
  
  <p>Any other workaround? Thank you for your help! I'm using MyFaces 2.0.13.</p>