use of custom themes from prime faces designer #323
-
Greetings all, I'm just getting my feet wet when using themes in primefaces. Currently, I am using an included theme in primefaces 13 in the web.xml file. With the parameter of primefaces.THEME. This works great but doesn't have alot of control. So I wanted to start using the designer to make my own. So what I have done so far is export a theme.css from the designer website https://www.primefaces.org/designer-jsf/ and import it into a folder named primfaces-mycooltheme. This folder is then placed into my resources folder. I have also updated the context param for primefaces.THEME to use the value of mycooltheme. I also threw it into the web-INF folder for good measure to ensure that it is not a permissions issue. Both ways generate the same error. My webapp works when I use the primefaces.THEME defaults, but not when I make my own from Designer. Is there something that I am missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Issue solved if anyone else is having the same problem. I have moved the resources/primefaces-mycooltheme/theme.css from WEB-INF into webapp/resources/primefaces-mycooltheme/theme.css and it worked. |
Beta Was this translation helpful? Give feedback.
Issue solved if anyone else is having the same problem. I have moved the resources/primefaces-mycooltheme/theme.css from WEB-INF into webapp/resources/primefaces-mycooltheme/theme.css and it worked.