Font awsome not work

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
zsuiqiang
Posts: 146
Joined: 13 Sep 2010, 03:52

28 Jul 2020, 09:27

I use webjars 5.13.1 in my project,when i use on button,like this:

Code: Select all

<p:commandButton value="com" apytionListener="#{monitorPointMngr.copy}" process="@this,points" icon="fas fa-copy"/>
I get a square frame,instead of icon,icon isn't show.

I tried delete line 3277 and 3278 of theme.css in primefaces-theme-ultima-2.1.1.jar:

Code: Select all

  body .ui-icon {
    font-family: 'Material Icons';/*line 3277*/
    font-weight: normal;/*line 3278*/
 }
Then it work.
So,i think it is redundant.
primefaces:jakarta:12.0.0.jar,
primefaces-ext:jakarta:12.0.0.jar,
JSF Mojarra 3.0
glassfish-6.2.5,
netbeans 14
IDEA 2022.2.2
Browser: Edge

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

30 Jul 2020, 14:05

Please see this issue;
viewtopic.php?f=98&t=57813

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests