[richfaces-issues] [JBoss JIRA] (RF-12804) ExtendedDatatable: columnClasses attribute not work

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Feb 27 03:07:56 EST 2013


     [ https://issues.jboss.org/browse/RF-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12804:
-------------------------------

    Fix Version/s: 4.3.1

    
> 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
>              Labels: regression
>             Fix For: 4.3.1
>
>
> 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


More information about the richfaces-issues mailing list