1 Reply Latest reply on Feb 3, 2009 9:42 AM by ilya_shaikovsky

    Up-to-date database datatable iteration

    juanignaciosl

      I find current developer guide information about iterating database data with datatables quite confusing. Is there any reference or wiki where you can find a complete example? I have not been able to find an example with data iteration + sorting + filtering. I think these features are implemented, but it's hard to figure out how to use it

      More specifically, I'd ask the following questions. In order to have an database iterable, database filtrable, database sortable data table...

      1.- Should I use rich:dataTable or rich:extendedDataTable?
      2.- Which datamodel should I extend? SerializableDataModel? ExtendedTableDataModel? ExtendedDataTableModifiableModel?
      3.- Which methods should I override?
      4.- Does Seam support this somehow? I've seen the @DataModel annotation, but it says nothing about ordering or filtering.