Page 1 of 1
Font Awesome + Primefaces 5.2 Problem
Posted: 23 Jun 2015, 13:39
by Deniz1975
Hello,
my web.xml is:
Code: Select all
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>true</param-value>
</context-param>
but I don't see any FontAwesome Icons:
Code: Select all
<p:commandButton value="Edit" icon="fa fa-edit" type="button"/>
Re: Font Awesome + Primefaces 5.2 Problem
Posted: 24 Jun 2015, 08:32
by sudheer
Re: Font Awesome + Primefaces 5.2 Problem
Posted: 08 Oct 2015, 17:41
by Milkmaid
Hi, I have very same problem. I am using primefaces 5.2 via maven. Jar is loaded corectly I can also see in sources :
<link type="text/css" rel="stylesheet" href="/javax.faces.resource/fa/font-awesome.css.jsf?ln=primefaces&v=5.2">
but instead of icons I see only squares. Do you have any idea whats wrong?
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>true</param-value>
</context-param>
in web.xml
Re: Font Awesome + Primefaces 5.2 Problem
Posted: 17 Oct 2015, 20:13
by Milkmaid
Hi, the problem was on my side (I expected it). I have in css font-family with !important. I remove !important in css and it works fine.
Re: Font Awesome + Primefaces 5.2 Problem
Posted: 18 Oct 2015, 11:38
by mert.sincan
Thanks for the update. Glad to hear