Add theme to my existing project

Post Reply
duongcanhhd
Posts: 2
Joined: 22 Jan 2019, 18:23

22 Jan 2019, 18:32

Dear
I have just by the theme, and try to add to my project. i have do:
- compile scss file to css file within poseidon-layout folder.
- copy poseidon-layout folder into resources folder of the project
- add poseidon-theme-1.0.3.jar to project libraries
- add following session to web.xml:
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-poseidon.taglib.xml</param-value>
</context-param>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
- add following session to faces-config.xml:
<component>
<component-type>org.primefaces.component.PoseidonMenu</component-type>
<component-class>org.primefaces.poseidon.component.menu.PoseidonMenu</component-class>
</component>

<render-kit>
<renderer>
<component-family>org.primefaces.component</component-family>
<renderer-type>org.primefaces.component.PoseidonMenuRenderer</renderer-type>
<renderer-class>org.primefaces.poseidon.component.menu.PoseidonMenuRenderer</renderer-class>
</renderer>
</render-kit>

However when i run the project, i receive the error message: Error loading css, cannot find "theme.css" resource of "primefaces-poseidon-layout-blue" library
pls help me to fix!

Best Regards,

aragorn
Posts: 3777
Joined: 29 Jun 2013, 12:38

23 Jan 2019, 14:55

Please use poseidon-blue instead of primefaces-poseidon-layout-blue for theme.

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

Best Regards,

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests