installation on existing project

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
aliuzar91
Posts: 7
Joined: 27 Nov 2017, 21:12

16 Jun 2020, 11:12

Hello,
I installed the template but in data tables sorting icons not showing.
Image
for the installation i added this codes
pom.xml ;

Code: Select all

<dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>diamond-theme</artifactId>
            <version>1.0.0</version>
        </dependency>
        
web.xml

Code: Select all

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

    <context-param>
        <param-name>primefaces.FONT_AWESOME</param-name>
        <param-value>true</param-value>
    </context-param>
index.xhtml

Code: Select all

<h:outputStylesheet name="primeicons/primeicons.css" library="primefaces" />
Ali Zeynelabidin UZAR
Prime Faces 7.0
Tomcat 8

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

17 Jun 2020, 09:44

Hi,

PrimeIcons library updated on 8.0.x versions. Therefore, please add icons/* and primeicons.css files into your project manually.

src/main/webapp/resources/diamond-layout/css/primeicons.css
src/main/webapp/resources/diamond-layout/icons/primeicons.*

your template.xhtml
<h:outputStylesheet name="css/primeicons.css" library="diamond-layout" />

Note: if you change the path of any file, please update primeicons.css and h:outputStylesheet url.

Best Regards,

Post Reply

Return to “Diamond - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests