PrimeIcons in PF10 not displayed

UI Components for JSF
Post Reply
synaptic
Posts: 22
Joined: 30 Jan 2019, 16:59

08 Dec 2021, 17:11

PrimeIcons are not displayed on PF v10.0.8 when using them the following way:

Code: Select all

<i class="pi pi-bolt layout-menuitem-icon"></i>

Code: Select all

<!DOCTYPE html>
<html ...
<head>...</head>
<body>...

        <h:outputStylesheet name="primeicons/primeicons.css" library="primefaces"/>
        <h:outputStylesheet name="css/primeicons.css" library="sapphire-layout"/>
        <h:outputStylesheet name="css/primeflex.min.css" library="sapphire-layout"/>
        <h:outputStylesheet name="css/layout-#{guestPreferences.layout}.css" library="sapphire-layout" />
    </h:body>
</html>
08-Dec.-2021 09:59:36,127 INFO [restartedMain] [org.primefaces.webapp.PostConstructApplicationEventListener:42] - Running on PrimeFaces 10.0.8

Note: when I use PrimeIcons available from Sapphire template, the icons displayed totally ok. But if I use icons that is not available from Sapphire template, but from PrimeIcons - than those icons are not getting displayed at all (just blank empty space).

What am I missing?
Appreciate the help!
Sapphire Theme 5.0.0
PrimeFace (Elite) 12.0.3
Mojarra JSF 2.3.14.SP04 & OmniFaces 3.11.2

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

08 Dec 2021, 18:11

I would ask on the Saphire specific forum here: viewforum.php?f=106
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

synaptic
Posts: 22
Joined: 30 Jan 2019, 16:59

08 Dec 2021, 18:49

thanks!
Sapphire Theme 5.0.0
PrimeFace (Elite) 12.0.3
Mojarra JSF 2.3.14.SP04 & OmniFaces 3.11.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests