How Create a New Proyect Aplicate this Theme

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
IscoDean
Posts: 2
Joined: 07 Dec 2017, 21:42

08 Dec 2017, 06:09

Hi, i'm Isco,

I need help to create a new proyect whit applicate this theme, but i new in create proyect to primefaces and need your help.

Thanks.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

08 Dec 2017, 19:38

it's all in the docs. I got it working. What is the actual problem?

IscoDean
Posts: 2
Joined: 07 Dec 2017, 21:42

11 Dec 2017, 13:40

kukeltje wrote:
08 Dec 2017, 19:38
it's all in the docs. I got it working. What is the actual problem?
the problem is i dont now how starting work whit the theme, i dont now including in my project, i dont now whit start this template in the proyect

thanks for your help.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

14 Dec 2017, 21:13

But this is all in the docs....

User avatar
w00f
Posts: 307
Joined: 27 Apr 2016, 13:27
Contact:

25 Dec 2017, 20:03

Hello,

You can view Serenity User Guide here: http://primefaces.org/serenity/docs.xhtml

For quick start, all you need to do is compiling the sass files to css files with "sass -w src/main/webapp/resources/ --sourcemap=none" command as stated in the documentation. And run the project with maven with this command "mvn clean jetty:run"

Best regards,


egimessi
Posts: 3
Joined: 14 Mar 2018, 18:23

16 Mar 2018, 18:43

I am new to it too.
The documentation is not stating that sass has to be known to install the themes. Apparently is needed to create you own.
But i looks like sass compilation is required anyway and no doc I can find is helpful in that sense
.

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

26 Mar 2018, 13:11

Please try;

Firstly, you need to provide CSS files from Sass files using the following command in command line;

Code: Select all

sass -w src/main/webapp/resources/ --sourcemap=none
then, mvn jetty:run

Sass install; https://sass-lang.com/install

OR

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=<theme_name> -Dversion=<theme_version> -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>theme_name</artifactId>
   <version>theme_version</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>theme_name</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

OR

I think these links can help to you to integrate the theme and layout into your project;
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0
https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0

Regards,

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests