[
https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s...
]
Edward I commented on RF-12978:
-------------------------------
Thanks - that explanation makes sense.
I tried placing the <link> within the body, but the result was the same behaviour:
.rf-cst-c must be defined in the .xhtml body for the styles to take effect.
More importantly, the ordering of the styles, i.e. RF styles defined after user styles
thereby overriding user styles, doesn't make much sense. The whole point of users
defining their own styles is to override the default styles, so why would you implement it
this way? It's like the user saying "I want to use this style" (by defining
it in css and applying it via the rowClasses variables), and then saying "I really,
really want to use this style" (by forcing them to tell RF to not use it's own
styles via the .rf-cst override... which needs to be done inline in the .xhtml for some
strange reason and therefore in every .xhtml where rowClasses is to be used.
I think more logical behaviour is that if a user defines their own styles, those styles
should automatically override the default (RF) styles. By the way, this also explains
similar problems I've had with trying to apply css classes to other RF4 components.
I hope you can change this because trying to override the default styles is now very
complicated as we need to find out which .rf-... style to override as "inherit"
or equivalent, and then do it inline in every single .xhtml page.
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