6 Replies Latest reply on Jan 27, 2009 12:17 PM by koddy

    how to get the selected row of extendeddatatable

    koddy

      Hi,
      this is my extededdatatable

      <rich:extendedDataTable value="#{clients}" var="client" id="table"
       selectionMode="single" rowKeyVar="row" selection="#backingBean.selection}" sortMode="single"
      groupingColumn="group" tableState="#{backingBean.state}"> .....
      

      at every rowclick i check the keys attribute of the simpleselection object. if any row is for the first time selected then the keys attribute is empty. if one selects now another row the keys attribute contains the value of the first selected row. obviously the simpleselection stores the previous selection but not the current selection. but why? and how can ich get the current selected row?