title: Generating unique ID attributes in datatable with JSF2 and IceFaces2
body: <p>I'm trying to use a code which looks like : </p>
  
  <pre><code>&lt;ice:dataTable id="revisionDocuments" value="#{agendaBean.agenda.revisionsDocuments}" var="revision"&gt;
      &lt;ice:column&gt;
          &lt;ice:inputText value="#{revision.sequenceAdresse}" id="revisionSequenceAdresse#{revision.index}" /&gt;
      &lt;/ice:column&gt;
  </code></pre>
  
  <p>I'd like to have a different id for my form fields. The revision object do contains an "index" field, representing the index of the object in the List. I want to see it appears in the id. However, nothing happens. The #{revision.index} expression is never interpreted (getIndex() on the revision object is never called).</p>
  
  <p>You'll tell me JSF already make something that looks like : </p>
  
  <pre><code>revisionDocuments:0:revisionSequenceAdresse
  revisionDocuments:1:revisionSequenceAdresse
  revisionDocuments:2:revisionSequenceAdresse
  </code></pre>
  
  <p>True, but this affect only the clientId generated in the HTML. The UIComponent representing the form fields (in the ViewRoot from FacesContext) have all the same "id" AND "clientId" (yes, event if the HTML contains "revisionDocuments:0:revisionSequenceAdresse", the "clientId" you will find in ViewRoot is revisionDocuments:revisionSequenceAdresse).</p>
  
  <p>Someone can help with my try ?</p>
  
  <p>Thank you very much, any help will be greatly appreciated.</p>