Font awsome not work

Post Reply
zsuiqiang
Posts: 141
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-8.0.jar,
primefaces-theme-ultima-2.1.1
JSF Mojarra 2.3.9
glassfish-5,
netbeans 12.0
Browser: chrome 83

aragorn
Posts: 4075
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 2 guests