Maven

Locked
pleusmann
Posts: 1
Joined: 27 Jun 2014, 10:44

09 Jan 2016, 00:33

Hi,

is there any maven repository to download the theme artifact from?

Cheers,
Philipp
Primeface 5.3
WildFly 8.2.1

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

10 Jan 2016, 13:27

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;

Code: Select all

mvn install:install-file -Dfile=<path-to-file> -DgroupId=org.primefaces.themes -DartifactId=modena -Dversion=2.0.1 -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>2.0.1</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>

Then, you can create Xhtml pages.

Locked

Return to “Modena”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests