Hello !
I bought the California theme, but I don't know how to use it well.
when I run the application i have this error : Error loading css, cannot find "theme.css" resource of "primefaces-california-blue" library
I need help.
How to use california theme
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: 87
- Joined: 10 Jan 2018, 16:04
Hi,
You need to set up sass with this command line;
" sass -w src/main --sourcemap=none "
and you can install sass from here http://sass-lang.com/install
Best Regards,
You need to set up sass with this command line;
" sass -w src/main --sourcemap=none "
and you can install sass from here http://sass-lang.com/install
Best Regards,
Please can you guide me about using SASS. I installed the latest version which is 1.6.2. I can't make any of the command proposed work. SASS tell me that the options are wrong and I can't figure it out.
We have here in this message: sass -w src/main --sourcemap=none which give me "Could not find an option or flag "-w""
And from the documentation of the template we have: "sass --update src/main/webapp/resources/ --sourcemap=none" which gives me either "Could not find an option named "sourcemap"" or "--update is not allowed when printing to stdout" when I remove the invalid sourcemap flag.
Thanks for helping me as this type of problem are the one I dislike the most in IT, playing with picky tools, I don't like it at all.
Regards,
Pierre Francis
We have here in this message: sass -w src/main --sourcemap=none which give me "Could not find an option or flag "-w""
And from the documentation of the template we have: "sass --update src/main/webapp/resources/ --sourcemap=none" which gives me either "Could not find an option named "sourcemap"" or "--update is not allowed when printing to stdout" when I remove the invalid sourcemap flag.
Thanks for helping me as this type of problem are the one I dislike the most in IT, playing with picky tools, I don't like it at all.
Regards,
Pierre Francis
kubrasulukan wrote: ↑29 Jan 2018, 08:21Hi,
You need to set up sass with this command line;
" sass -w src/main --sourcemap=none "
and you can install sass from here http://sass-lang.com/install
Best Regards,
Primefaces 12.0
Jakarta Faces 4.0
Oracle JDK 17
Payara 6.2023.6
Jakarta EE 10.0
Jakarta Faces 4.0
Oracle JDK 17
Payara 6.2023.6
Jakarta EE 10.0
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Could you please try an old SASS version for this issue?
Github Profile: https://github.com/mertsincan
-
- Posts: 3
- Joined: 08 Sep 2018, 10:44
Hello,
I Have purchased the California theme.
<param-name>primefaces.THEME</param-name>
<param-value>california</param-value>
</context-param>
But I have the following error:
Error loading css, cannot find "theme.css" resource of "primefaces-california" library
please note that my project isn't Maven.
Is there anything I am missing?
Regards
I Have purchased the California theme.
- I have done the following to run the theme in my Netbeans project:
I have installed Sass and I have set the CSS preprocessor path in Netbeans.
I have created a css folder and a scss folder and I have tested the scss code in my project.
I have added the California theme jar file to my project.
and I have added the following to web.xml file:
<param-name>primefaces.THEME</param-name>
<param-value>california</param-value>
</context-param>
But I have the following error:
Error loading css, cannot find "theme.css" resource of "primefaces-california" library
please note that my project isn't Maven.
Is there anything I am missing?
Regards
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>california-blue</param-value>
</context-param>
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Did you try the following command?
If yes, could you please attach the error for us?
Did you try the following command?
Code: Select all
sass -w src/main/webapp/resources/ --sourcemap=none
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests