I do not load css in Poseidon
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.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
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
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
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
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
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
Github Profile: https://github.com/mertsincan
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.
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.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests