title: Get rowIndex of rich:dataTable rows
body: <p>In my JSF application, I use a rich:dataTable as follows:</p>
  
  <pre><code>&lt;rich:dataTable id="itemTable" value="#{backingBean.itemsList}" var="i" &gt;
      &lt;rich:column&gt;   &lt;f:facet name="header"&gt;ItemValue&lt;/f:facet&gt;
          &lt;h:inputText id="myId" value="#{i.value}" style="width: 30px" /&gt;
      &lt;/rich:column&gt; &lt;/rich:dataTable&gt;
  
  &lt;h:commandButton id="saveB" value="Save" action="#{backingBean.doSave()}" /&gt;
  </code></pre>
  
  <p>Bean code of doSave:</p>
  
  <pre><code>public String doSave() {
       Iterator&lt;Item&gt; = itemsList.iterator();
       while(iter.hasNext()) {
           //do something
       }
  }
  </code></pre>
  
  <p>In the doSave()-Method, i need to know the row index of the current Item, is there a way to achieve this?</p>