title: JSF: conditionally render a list item (<li>)
body: <p>I just inherited a project implemented in JSF. I have the following code which looks fine in Chrome, but Firefox renders the borders on the "empty" list items:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;&lt;a href="/home"&gt;Home&lt;/li&gt;
      &lt;li&gt;
          &lt;s:link view="/signup.xhtml" rendered="#{someCondition}"&gt;Sign Up&lt;/s:link&gt;
      &lt;/li&gt;
      &lt;!-- etc... --&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Which ends up looking like:</p>
  
  <p><img src="https://i.stack.imgur.com/UOAEQ.png" alt="enter image description here"></p>
  
  <p>Is there a JSF tag to conditionally render the <code>&lt;li&gt;</code> ?</p>