Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12804

ExtendedDatatable: columnClasses attribute not work

    XMLWordPrintable

    Details

      Description

      After I update richfaces from 4.2.2.Final to 4.3.0.Final, extendedDataTable doesn't render columnClasses attribute properly. Only last column has the correct class but others have only a style class made of concatenation between "rf-edt-td-" and id of the column.
      I think that the problem is inside method

      public void encodeRow(ResponseWriter writer, FacesContext facesContext, RowHolderBase rowHolder)

      of the class ExtendedDataTableRenderer. This lines that are been added seem override the columnClasses attribute:

      if (columnNumber != lastColumnNumber)

      { writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, "rf-edt-td-" + column.getId(), null); }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                conte Roberto Contiero
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: