[richfaces-issues] [JBoss JIRA] (RF-11588) HeaderClass is ignored on ExtendedDataTable column

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Jan 24 14:24:18 EST 2012


    [ https://issues.jboss.org/browse/RF-11588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661516#comment-12661516 ] 

Brian Leathem commented on RF-11588:
------------------------------------

Looking into the code, it's convoluted and not as trivial to change as I would have expected.

Would you find it acceptable to repeat the custom css class on the interior div?  It would mean the css class would show up twice, which is unfortunate, but would result in your style being applied as expected.
                
> HeaderClass is ignored on ExtendedDataTable column
> --------------------------------------------------
>
>                 Key: RF-11588
>                 URL: https://issues.jboss.org/browse/RF-11588
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.1.0.Milestone3
>            Reporter: Cody Lerum
>            Assignee: Brian Leathem
>            Priority: Trivial
>             Fix For: 4.2.0.CR1
>
>
> When a header class is defined on a rich:column inside an rich:extendedDataTable it is ignored
> Assume
> {code}
> <rich:column headerClass="left" styleClass="left">
>    <f:facet name="header">Foo</f:facet>
>    <h:outputText value="Bar" />
> </rich:column>
> {code}
> What is rendered is
> {code}
> <td>
>    <div class="rf-edt-rsz-cntr rf-edt-c-j_idt384" style="">
>       <div class="rf-edt-rsz"></div>
>    </div>
>    <div class="rf-edt-hdr-c rf-edt-c-j_idt384 left" style="height: 21px; ">
>       <div class="rf-edt-hdr-c-cnt">Foo</div>
>    </div>
> </td>
> {code}
> My style left is applied but the header is one level lower and has rf-edt-hdr-c-cnt style which will always make it center

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list