0 Replies Latest reply on Apr 17, 2008 1:38 PM by Phil Wilson

    rich:datagrid select one row for delete  - how to

    Phil Wilson Apprentice

      Hey guys,

      I switched to JSF 1.2 and got rid of Myfaces.

      I was using s:selectOneRow on a t:dataTable...

      how do I do this with a rich:dataGrid??

      Thanks
      Phil

      <t:dataTable id="data"
      styleClass="scrollerTable"
      headerClass="standardTable_Header"
      footerClass="standardTable_Header"
      rowClasses="standardTable_Row1,standardTable_Row2"
      columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
      var="car"
      value="#{selectOneRowList.list}"
      preserveDataModel="false"
      rows="10"
      >
      <h:column>
      <f:facet name="header">
      <h:outputText value="Select"/>
      </f:facet>
      <s:selectOneRow groupName="selection" id="hugo" value="#{selectOneRowList.selectedRowIndex}"
      onchange="submit();" immediate="true"
      valueChangeListener="#{selectOneRowList.processRowSelection}"/>
      </h:column>