Installing designed PF Theme

Post Reply
491415
Posts: 25
Joined: 02 Aug 2019, 10:47

22 Dec 2020, 10:53

Hello, I've recently designed a theme for my company and now im trying to implement it into our projects. I've watched Cagatay's PF Designer video about implementation and after doing what he said, im getting this error:

"Error loading css, cannot find "theme.css" resource of "primefaces-mytheme-1.0.0" library"

I left the theme name the same : primefaces-mytheme-${project.version}
In web.xml context-param looks like this:
<context-param>
<param-name>THEME</param-name>
<param-value>mytheme-1.0.0</param-value>
</context-param>

and i've also put the .jar file into classpath of the application.

Would appreciate your help :)

491415
Posts: 25
Joined: 02 Aug 2019, 10:47

22 Dec 2020, 14:37

Managed to get it working, but now all the icons are missing....

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

23 Dec 2020, 01:23

Hi,

Sorry for the delayed response! For icons, you can use;

Code: Select all

<h:outputStylesheet name="primeicons/primeicons.css" library="primefaces"/>
Or You can add primeicons into your project. Please check it.

Best Regards,

Post Reply

Return to “PrimeFaces Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest