4 Replies Latest reply on Mar 7, 2007 3:24 AM by amitev

    Add new facets for rich:column

    amitev

      I propose that there should be some new facets added to the column tag
      inside of a data table, in addition to the existing "header" and "footer". The
      description is as follows:

      <f:facet name="prebody"/> - Cause a row to be rendered inside the of the table, using cells, before any rows rendered automatically by the value="" attribute of the dataTable.

      <f:facet name="postbody"/> - Cause a row to be rendered inside the of the table, using cells, after any rows rendered automatically by the
      value="" attribute of the dataTable. An example use case is rendering a row in which the user might enter data to add to the table.

      Ideally, there would be a way to render an arbitrary number of header, footer, prebody, and postbody cells, but the facet mechanism does not seem to allow for this at present.

      This will help solving scenarios like on this picture:

      http://maria0306.hit.bg/datatable.jpg