I cannot download the primefaces themes using the lastest version of primefaces.
This is in my WEB-INF/lib directory:
all-themes-1.0.10.jar
commons-io.1.4.jar
cve-schema.jar
log4j-1.2.9.jar
primefaces-5.1.jar
And this is my page content:
Code: Select all
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core">
<body>
<h:form>
<p:dataTable var="car" value="#{dtBasicView.cars}">
<p:column headerText="Id">
<h:outputText value="#{car.id}" />
</p:column>
<p:column headerText="Year">
<h:outputText value="#{car.year}" />
</p:column>
<p:column headerText="Brand">
<h:outputText value="#{car.brand}" />
</p:column>
<p:column headerText="Color">
<h:outputText value="#{car.color}" />
</p:column>
</p:dataTable>
</h:form>
</body>
</html>
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>glass-x</param-value>
</context-param>
I've read the demos and docs and I don't see anything at all that could be causing this and as far as I can tell, I've done everything correctly. I also don't see any errors in the glassfish log.