title: How to use EL with <ui:repeat var> in id attribute of a JSF component
body: <p>I have following code:</p>
  
  <pre><code>&lt;ui:repeat var="class2" value="#{bean.list}" varStatus="status"&gt;
    &lt;h:form id="#{class2.name}"&gt; 
      &lt;h:outputText value="#{class2.name}" /&gt;
    &lt;/h:form&gt;
  &lt;/ui:repeat&gt;
  </code></pre>
  
  <p>However, when I open the page, it errors as follows:</p>
  
  <blockquote>
    <p>component identifier must not be a zero-length String</p>
  </blockquote>
  
  <p>But it is properly printed in the <code>&lt;h:outputText&gt;</code>. How is this caused and how can I solve it?</p>