0 Replies Latest reply on May 7, 2008 2:26 AM by infinity2heaven

    Using TreeMap with a rich:dataTable

    infinity2heaven

      Can I use a TreeMap with rich:dataTable?


      I need this to visualize my table as a grouping table. Something like this in ice-faces


      Using multiple rich:subTable for each group within the main rich:Table, I could achieve this result with some sample code.  ow, for the actual datastructure, a TreeMap is the best fit. However I'm not sure how to traverse a treemap in the rich:dataTable tag as it primarily traverses a List


      Ideally, I'm thinking that my SFSB should have a DataModel



      @DataModel
      private Map<Group, HashSet<Foo>> foosByGroup; 


            
      I didn't quite understand the use of MapDataModel in Seam, has anything to do with this requirement?
        


      Pl suggest