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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Jan 26 19:12:48 EST 2012


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

Brian Leathem resolved RF-11588.
--------------------------------

    Resolution: Done


Funny how somethings are more clear when you look at them the next day.  

I've resolved this issue by moving the headerClass cssClass down one level in the rendered html, allowing it to fully override the pre-packaged classes.
                
> 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