Roberto Contiero created RF-12804:
-------------------------------------

             Summary: ExtendedDatatable: columnClasses attribute not work
                 Key: RF-12804
                 URL: https://issues.jboss.org/browse/RF-12804
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.3.0.Final
         Environment: JBoss AS 7.1.1.Final
            Reporter: Roberto Contiero
            Priority: Minor


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);
} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to