I am trying to implement the ExtendedTableDataModel for use with an extended datatable. What I am trying to implement is master/detail view where the master is a tree and the detail is shown in an extended data table. How do I get the selected "master data" to the DataProvider that is used by the ExtendedTableDataModel. I have looked at the RichFaces samples and other examples and they all have data poplation code that does not take any inputs from external sources. Any ideas?