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

Brian Leathem resolved RF-12804.
--------------------------------

      Assignee: Brian Leathem
    Resolution: Done


Collpased the conflicting writeAttribute calls for the CSS class
                
> 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
>            Assignee: Brian Leathem
>            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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to