How to use california theme

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Soul342
Posts: 1
Joined: 31 Jul 2017, 15:14

26 Jan 2018, 11:20

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.

kubrasulukan
Posts: 87
Joined: 10 Jan 2018, 16:04

29 Jan 2018, 08:21

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,

kubrasulukan
Posts: 87
Joined: 10 Jan 2018, 16:04

01 Jun 2018, 07:57

Glad to hear! Thank you :)

pfroy
Posts: 49
Joined: 09 Sep 2015, 18:20

21 Jun 2018, 15:40

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
kubrasulukan wrote:
29 Jan 2018, 08:21
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,
Primefaces 12.0
Jakarta Faces 4.0
Oracle JDK 17
Payara 6.2023.6
Jakarta EE 10.0

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

26 Jun 2018, 10:41

Could you please try an old SASS version for this issue?

changezonedev
Posts: 3
Joined: 08 Sep 2018, 10:44

16 Sep 2018, 14:12

Hello,

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:
<context-param>
<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

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

17 Sep 2018, 11:58

Please try;

Code: Select all

<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>california-blue</param-value>
</context-param>

becrazy76
Posts: 2
Joined: 18 Aug 2015, 09:58

09 Nov 2018, 12:15

Hi,

I just bought the theme as well and facing same issues as described. Which "old" version do I need to use? Thanks for your help.
aragorn wrote:
26 Jun 2018, 10:41
Could you please try an old SASS version for this issue?

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

13 Nov 2018, 14:55

Hi,

Did you try the following command?

Code: Select all

sass -w src/main/webapp/resources/ --sourcemap=none
If yes, could you please attach the error for us?

Post Reply

Return to “California - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests