[richfaces-issues] [JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses
Edward I (JIRA)
jira-events at lists.jboss.org
Fri Jun 14 11:02:54 EDT 2013
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781725#comment-12781725 ]
Edward I edited comment on RF-12978 at 6/14/13 11:02 AM:
---------------------------------------------------------
Thanks for the update. I have discovered that this only works if:
<style type="text/css">
.rf-cst-c{
background-color: inherit;
}
</style>
is included in the .xhtml file. It won't work if that same style is in an external .css file. My .xhtml page uses external css as follows:
<h:head>
<link rel="stylesheet" type="text/css" href="../includes/main.css" />
<title>Page Title</title>
</h:head>
The evenRow and oddRow styles are only picked up if .rf-cst-c is defined inline in the page, not if it is defined in the css file (or left out altogether as in RF3). Is that the desired/documented behaviour?
Also note that this is inconsistent behaviour between richTable and collapsibleSubTable: richTable does not require .rf-cst-c (or similar) to be defined anywhere (inline or externally); it just picks up the styles from the css and applies them in the same way RF3 does. I don't think it should be necessary to define .rf-cst-c anywhere.
was (Author: edwardiv):
Thanks for the update. I have discovered that this only works if:
<style type="text/css">
.rf-cst-c{
background-color: inherit;
}
</style>
is included in the .xhtml file. It won't work if that same style is in the an external .css file. My .xhtml page uses external css as follows:
<h:head>
<link rel="stylesheet" type="text/css" href="../includes/main.css" />
<title>Page Title</title>
</h:head>
The evenRow and oddRow styles are only picked up if .rf-cst-c is defined inline in the page, not if it is defined in the css file (or left out altogether as in RF3). Is that the desired/documented behaviour?
> 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
> Assignee: Brian Leathem
> 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