I'm attempting to give my table a "zebra" color pattern for the rows, but it seems like the rowClasses attribute isn't functioning properly (edit: I don't see any colors applied to the table at all).
Here is how I defined the styles:
<style>
.even-row {
background-colour: #fcefa1;
}
.odd-row {
background-colour: #f7f7f7;
}
</style>
The dataTable code itself looks like this:
<rich:dataTable value="#{bean.labels}" var="label" rowClasses="even-row, odd-row">
<rich:column>
<h:outputText value="#{label}"/>
</rich:column>
</rich:dataTable>
Any thoughts on why this might not be working? (Maybe I'm misunderstanding the purpose of the rowClasses attribute)