Page 1 of 1
How to add Morpheus theme in my existing Project
Posted: 12 Mar 2017, 12:49
by yogeshexcellminds
Hi ,
I purchas this theme and Now I want to add this in existing project Please help.
Re: How to add Morpheus theme in my existing Project
Posted: 13 Mar 2017, 10:43
by mert.sincan
Re: How to add Morpheus theme in my existing Project
Posted: 03 Nov 2017, 16:08
by SvenR
Hey aragorn,
I just purchased the Morpheus theme and I'm having some troubles with it.
I tried to do it like it is shown in this video:
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0
At 1:00 in the video, he was able to see his test-page with the omega template just by adding this:
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>omega</param-value>
</context-param>
So I tried that and added this to my web.xml:
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>morpheus-green</param-value>
</context-param>
But I am getting this error message:
javax.servlet.ServletException: Error loading theme, cannot find "theme.css" resource of "primefaces-morpheus-green" library
After that, I executed this in the Command Prompt:
Code: Select all
mvn install:install-file -Dfile=<path-to-file>/morpheus-theme-1.0.2 -DgroupId=org.primefaces.themes -DartifactId=morpheus -Dversion=1.0.2 -Dpackaging=jar
And added this to my pom.xml:
Code: Select all
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>morpheus</artifactId>
<version>1.0.2</
</dependency>
But I am still getting the same error.
These are the links I have already looked at:
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0
viewtopic.php?f=52&t=49442
viewtopic.php?t=42691
viewtopic.php?f=23&t=41516
https://www.primefaces.org/morpheus/doc ... 9332.node0
What am I missing?
Thanks for helping.
Re: How to add Morpheus theme in my existing Project
Posted: 01 Dec 2017, 11:11
by cagatay.civici
All looks good, is the issue resolved? Can you confirm if the jar you use has this css file under META-INF/resources.