[richfaces-issues] [JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses

Edward I (JIRA) jira-events at lists.jboss.org
Sat Jun 22 14:55:20 EDT 2013


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

Edward I commented on RF-12978:
-------------------------------

Here's some more information:
The generated HTML looks like this:

{code:xml}
<tr id="j_id_33:0:j_id_36:0:b" class="rf-cst-r rf-cst-fst-r oddRow">
   <td id="j_id_33:0:j_id_36:0:j_id_37" class="rf-cst-c"> … </td>
{code}

We can see that "oddRow" is included in the <tr> class - that's what contains the backgroundColor we want.  "oddRow" should take precedent over all other styles defined therein.  It seems the problem here is that <td> includes "rt-cst-c" in its class, which defines its own styles that override what's in "oddRow".  I don't think that should happen when you look at how subTable rowClasses are supposed to behave.

                
> collapsibleSubTable ignores rowClasses
> --------------------------------------
>
>                 Key: RF-12978
>                 URL: https://issues.jboss.org/browse/RF-12978
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.3.1
>         Environment: Firefox 20.0, Linux
>            Reporter: Edward I
>              Labels: waiting_on_user
>         Attachments: rf-12978.zip
>
>
> The rowClasses is ignored in the following:
> {code:xml}
> <rich:collapsibleSubTable value="#{item.items}" var="comp" rowClasses="oddRow, evenRow">
> {code}
> DataTable works correctly with the same rowClasses.

--
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