title: How to get selected datatable row using icefaces?
body: <p>I want to get selected row data from ice:datatable ? Here is me code , please give me your suggestion to get selected row data using rowselector.</p>
  
  <p>Backingbean:</p>
  
  <pre><code>public void rowSelectionListener(RowSelectorEvent event) {
      System.out.println(event.getRow());
  }
  </code></pre>
  
  <p>jspx code:</p>
  
  <pre><code>    &lt;ice:rowSelector id="selected"  selectionListener="#{inventoryList.rowSelectionListener}" multiple="false" selectedClass="tableRowSelected" mouseOverClass="tableRowMouseOver" /&gt;
      &lt;f:facet name="header"&gt;
          &lt;ice:outputText value="Stock #"/&gt;
      &lt;/f:facet&gt;
      &lt;ice:outputText value="#{item.stock}"/&gt;
  &lt;/ice:column&gt;
  </code></pre>
  
  <p>Now I am able to get row index, but I need to get selected row value. How can I do that?</p>