0 Replies Latest reply on Feb 1, 2010 6:23 PM by Chris Simons

    A List (or Map) of DataModels - any examples?

    Chris Simons Expert

      All -


      I would like to use RichFaces to print an undetermined number of ExtendedDataTables on a page.


      The value of each ExtendedDataTable needs to map a DataModel, but that DataModel is going to be dynamic as each EDTable will be nested inside of an a4j:repeat.


      Can anyone recommend the best way of going about this?


      Do I need to use a Map, such as :


      private Map<String, DataModel> dataModels;


      Then, I would point the value of the EDTable to get back the Mapped entry, which should point to a DataModel.


      Can anyone point me in the right direction?  I would appreciate it.


      Thanks.