3 Replies Latest reply on Jun 4, 2008 5:40 AM by alexguru

    <rich:dataTable perfomance

    alexguru

      I display a table with nearly 1000 rows. When i changed <h:dataTable /> to <rich:dataTable /> size of my page increased from 500Kb to 1,5Mb. This heapens because <rich:dataTable /> generates ID for every 'td' tag unlike <h:datatTable /> and <t:dataTable />.
      Example of generated id's:

      <TD
      id=j_id_jsp_1105445235_47:files_logistic:j_id_jsp_1752460238_4pc2:journalTable:57:j_id_jsp_1752460238_69pc2>
      2007-10-12</TD>

      I include table into page with <a4j:include /> so my id is little more longer.

      Id size = 107Bytes. I have 10 columns and 1000 rows: Size = 107 * 10 * 1000 = 1mb.

      Is id for 'td' tag a architectural feature or in future releases it could be removed?

      Thanks,
      Alex