How to add Morpheus theme in my existing Project

Post Reply
yogeshexcellminds
Posts: 1
Joined: 26 Feb 2017, 11:29

12 Mar 2017, 12:49

Hi ,
I purchas this theme and Now I want to add this in existing project Please help.


SvenR
Posts: 1
Joined: 03 Nov 2017, 08:56

03 Nov 2017, 16:08

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest