I do not load css in Poseidon

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
jreyes256
Posts: 4
Joined: 09 Mar 2015, 18:15

24 Feb 2017, 00:26

I'm new to poseidon and I want to make the template work by default but some css do not load, some steps?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Feb 2017, 00:14

Can you post your template.xhtml please? Please also try copying the GuestPreferences.java bean to your project to see if it fixes the issue.

godheaven
Posts: 2
Joined: 20 Aug 2016, 05:15

09 Mar 2017, 15:28

Hi. I have the same problem.

Today I bought the "layout" and I'm trying to use it but without success.
I have done the following steps:
1) download poseidon-1.0.0.zip
2) extract poseidon-1.0.0.zip
3) Open tag folder as project in Netbeans
3.1) import poseidon-theme-1.0.0.jar as new dependency in tag/pom.xml
(I installed the dependency locally in my maven repository)
3.2) I updated file tag/src/main/webapp/WEB-INF/web.xml indicating the following:
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>poseidon-turquoise</param-value>
</context-param>

4) I run the application and open the project page in the browser.
Only the menu appears, but no CSS has been loaded.

Firebug show me the error "RES_NOT_FOUND"

Please your help,
Regards

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

10 Mar 2017, 15:24

You need to add <dependency> for theme to pom.xml after section 3.1)

I think these links can help to you;
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0

godheaven
Posts: 2
Joined: 20 Aug 2016, 05:15

10 Mar 2017, 18:50

I found the issue!!!
The problem is because all the "css" files are missing inside the "tag" project.
There are only their equivalent "scss" files, however, the project configuration looks for the "css" files and when they are not found the error "RES_NOT_FOUND"

My solution was:
1) Extract file poseidon-1.0.0.war
2) Compare poseidon-1.0.0/resources/ with tag/src/main/webapp/resources/
3) Copy all "*.css" files that are not in the project "tag"

Primefaces Team.
- Please fix the problem in the poseidon package so as not to have these tedious problems.
- Generate a new version to download.

Thanks a lot. :D

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

15 Mar 2017, 09:34

Glad to hear, thanks for the update!

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests