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,
Add theme to my existing project
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
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,
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,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests