Adamantium layout ... unable to get it working

dansan80
Posts: 5
Joined: 30 Apr 2016, 19:46

02 May 2016, 10:36

Hi all,

I bought adamantium theme and I'm trying to get layout working ... without luck.
I installed theme as described to the following link:

http://www.primefaces.org/adamantium/do ... tion.xhtml

I also installed JAR to local maven repository by

Code: Select all

mvn install:install-file -Dfile=<path-to-theme-file> -DgroupId=org.primefaces.themes -DartifactId=adamantium -Dversion=<dependency-version> -Dpackaging=jar
and added it as dependency by pom.xml definition

Code: Select all

<dependency>
    <groupId>org.primefaces.themes</groupId>
    <artifactId>adamantium</artifactId>
    <version>2.1.1</version>
</dependency>
Results is always the same shown in the following picture

Image

As you can notice in my javascript console I always get 2 RES_NOT_FOUND but I'm unable to understand wich files are missing.

Anyone can give me some help?

Thank you
Last edited by dansan80 on 02 May 2016, 14:27, edited 2 times in total.

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

02 May 2016, 13:15

Which PF version are you using?

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

02 May 2016, 13:17

And please check your -Dverison;
mvn install:install-file -Dfile=<path-to-theme-file> -DgroupId=org.primefaces.themes -DartifactId=adamantium -Dversion=2.1.1 -Dpackaging=jar

<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>adamantium</artifactId>
<version>2.1.1</version>
</dependency>

dansan80
Posts: 5
Joined: 30 Apr 2016, 19:46

02 May 2016, 14:16

Hi Aragorn,

thank you for your quick reply.

I'm using primefaces 5.3 as shown below:

Code: Select all

<properties>
    <pfs.version>5.3</pfs.version>
</properties>

<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>${pfs.version}</version>
</dependency>
About version I'm correctly using version 2.11 (I just cut and paste example statements for my post).

p.s.: I modified first post to avoid misunderstandings

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

02 May 2016, 17:18

Interesting !
Which browser are you using? Can you please try your project on other browsers?

dansan80
Posts: 5
Joined: 30 Apr 2016, 19:46

02 May 2016, 18:11

I noticed same problem on mozilla firefox (my default one), chrome and internet explorer.
I never tryied with a mobile browser.

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

03 May 2016, 09:09

Ok, thanks ;)

Please add the following css into web.xml

Code: Select all

<context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>adamantium</param-value>
    </context-param>
Can you please try this issue with our sample project? If you work to add layout and theme into your project, please see; https://www.dropbox.com/s/gnfiq39hfx37r ... s.avi?dl=0

dansan80
Posts: 5
Joined: 30 Apr 2016, 19:46

03 May 2016, 10:40

No luck,

I already added "primefaces.THEME" parameter to my web.xml.
I already saw that video also (I think I found it crawling for a solution in this forum).

The only difference I noticed was related to "CSS preprocessor". I'm using Eclipse and I processed less files by hands using lessc (npm -g install lessc).
But without luck.

This is my WAR content

Image

Ther's a way to understand wich file is related to RES_NOT_FOUND message I read in my browser console?

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

03 May 2016, 12:54

Please add adamantium-dark-layout.css and adamantium-layout.css into adamantium-layout/css.

Screenshot;
Image

dansan80
Posts: 5
Joined: 30 Apr 2016, 19:46

03 May 2016, 15:20

It works!

adamantium-dark-layout.css and adamantium-layout.css were in the wrong place!!!

Really really really thanks for your support!

Locked

Return to “Adamantium”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests