title: Unordered list (ul) with JSF and primefaces
body: <p>I have a list using basic HTML in my JSF 2.0 page, like the following:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;&lt;h:outputText value="Item1" /&gt;&lt;/li&gt;
      &lt;li&gt;&lt;h:outputText value="Item2" /&gt;&lt;/li&gt;
      &lt;li&gt;&lt;h:outputText value="Item3" /&gt;&lt;/li&gt;
      &lt;li&gt;&lt;h:outputText value="Item4" /&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>But I don't want to show some items in some conditions, so I can use:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;&lt;h:outputText value="Item1" rendered="true"/&gt;&lt;/li&gt;
      &lt;li&gt;&lt;h:outputText value="Item2" rendered="true"/&gt;&lt;/li&gt;
      &lt;li&gt;&lt;h:outputText value="Item3" rendered="false"/&gt;&lt;/li&gt;
      &lt;li&gt;&lt;h:outputText value="Item4" rendered="false"/&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>However, the list item is still being rendered and is breaking my page, so I was looking for something to replace the plain <code>&lt;li&gt;</code> item, so I can use the <code>rendered</code> option, or maybe some another idea.</p>
  
  <p>Thanks!</p>