Hi,
is there any maven repository to download the theme artifact from?
Cheers,
Philipp
Maven
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Unfortunately, there isn't. You need to download theme.jar at PrimeFaces market.
Then, please follow these steps;
1) to use 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;
<path-to-file> -> where is the jar?
- please add this dependency in pom.xml of your project
- please add this context-param in web.xml of your project
Then, you can create Xhtml pages.
Then, please follow these steps;
1) to use 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=2.0.1 -Dpackaging=jar
- please add this dependency in pom.xml of your project
Code: Select all
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>modena</artifactId>
<version>2.0.1</version>
</dependency>
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>modena</param-value>
</context-param>
Then, you can create Xhtml pages.
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests