Please try;
1) to use modena-theme.jar in your project
(Windows PC)
-Please open Command Prompt in your pc
(If no maven in your pc,
https://www.youtube.com/watch?v=Jtj-0yhox5s)
-To install theme.jar in the local repository;
Code: Select all
mvn install:install-file -Dfile=<path-to-file> -DgroupId=org.primefaces.themes -DartifactId=modena -Dversion=1.0.2 -Dpackaging=jar
<path-to-file> -> where is the jar?
- please add this dependency in pom.xml of your project
Code: Select all
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>modena</artifactId>
<version>1.0.2</version>
</dependency>
- please add this context-param in web.xml of your project
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>modena</param-value>
</context-param>
2) to use our sample maven project
- Please add war file in an IDE such as Netbeans
You can execute the sample with mvn jetty:run command