Richfaces theme issue and datatable style class issue
ponicpool Mar 23, 2013 12:05 AMI am using RichFaces 3.1.6 for an old project with JSF 1.1
Are there any Richfaces themes exists for 3.1.6 version? Because when I add themes-3.3.3.Final.jar my application doesn't work,
however if I remove the jar from my classpath, then application works fine.
I have the following in JSF page and I have attached screen shot for reference as no theme is applied.
<rich:dataTable value="#{test.beanValues}"
var="emp" rowClasses="row1, row2" id="empdet" rows="4"
columnClasses="50,100,100,100" onRowMouseOver="this.style.backgroundColor='#B5F3FB'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.rowBackgroundColor}'"
width="350">
<f:facet name="header">
<rich:columnGroup>
<rich:column colspan="4">
<h:outputText value="List of Employees" />
</rich:column>
<rich:column breakBefore="true">
<h:outputText value="Employee #" />
</rich:column>
<rich:column>
<h:outputText value="Employee Name" />
</rich:column>
<rich:column>
<h:outputText value="Hire Date" />
</rich:column>
<rich:column>
<h:outputText value="Dept #" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<f:facet name="header">
<h:outputText value=" "
title="Hack due to bug. Shuold be remoevd till release"></h:outputText>
</f:facet>
<h:outputText value="#{emp.employeeNumber}" />
</rich:column>
<rich:column>
<h:outputText value="#{emp.employeeName}" />
</rich:column>
<rich:column>
<h:outputText value="#{emp.hireDate}" />
</rich:column>
<rich:column>
<h:outputText value="#{emp.deptNo}" />
</rich:column>
</rich:dataTable>
<rich:datascroller align="left" for="empdet"
maxPages="20" />
-
scc2.PNG 6.7 KB