1 Reply Latest reply on Mar 29, 2011 2:59 AM by Ilya Shaikovsky

    rich:dataTable and dynamic beans

    raid3n Newbie

      Hi all,

       

      suppose I have a Bean to describe a Relational Table:

       

      class DynamicTableBean

      {

           private List<String> columns;

            private Map<Integer, List<String>> rows;

      }

       

      I know only at runtime the names of the columns and the rows.

      How to render this bean with a rich:dataTable?

      Is there a best practice/pattern to render a dynamic bean with rich:dataTable?

       

      I have problems using a4j:repeat into rich:dataTable, it doesn't work.

       

      I'm using rf4 cr1.