title: Iterate <f:verbatim> within <ui:repeat>
body: <p>I have a <code>@ViewScoped</code> bean with a <code>List&lt;String&gt;</code> containing plain HTML. I want to iterate over this list and output plain html:</p>
  
  <pre><code>&lt;c:forEach items="#{bean.list}" var="html"&gt;
    &lt;f:verbatim&gt;#{html}&lt;/f:verbatim&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>That snippet above works well but when the page is refreshed the bean costrunctor is recalled. This issue/bug is known: <a href="https://stackoverflow.com/questions/2842401/jstl-cforeach-causes-viewscoped-bean-to-invoke-postconstruct-on-every-request">JSTL c:forEach causes @ViewScoped bean to invoke @PostConstruct on every request</a></p>
  
  <p>So the suggestion is to replace <code>&lt;c:forEach&gt;</code> with <code>&lt;ui:repeat&gt;</code>.</p>
  
  <pre><code>&lt;ui:repeat value="#{bean.list}" var="html"&gt;
    &lt;f:verbatim&gt;#{html}&lt;/f:verbatim&gt;
  &lt;/ui:repeat&gt;
  </code></pre>
  
  <p>But that doesn't work. I have a blank page. I tried <code>&lt;h:dataTable&gt;</code>, <code>&lt;a4j:repeat&gt;</code> and <code>&lt;rich:dataTable&gt;</code> but nothing to do.</p>
  
  <p>Any solutions? </p>