title: font awesome with primefaces 5.2
body: <p>primefaces 5.2</p>
  
  <p>i cant get font awesome to work with primefaces, i have setup the context param inside the web.xml file as so</p>
  
  <pre><code>   &lt;context-param&gt;
     &lt;param-name&gt;primefaces.FONT_AWESOME&lt;/param-name&gt;
     &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/context-param&gt;
  </code></pre>
  
  <p>and i tried to use it like this</p>
  
  <pre><code>&lt;p:commandButton  value="Capture" icon="fa fa-camera-retro"/&gt;
  &lt;p:commandButton value="Edit" icon="fa fa-edit" type="button"/&gt;
  </code></pre>
  
  <p>but instead of showing me the icon it is showing a ^, i saw a similar post here and tried the suggestions posted by including the following in a css</p>
  
  <pre><code>.ui-icon.fa {
   text-indent:0px;
   background-image:none;}
  </code></pre>
  
  <p>and </p>
  
  <pre><code>.ui-icon {
  text-indent: 0;}
  </code></pre>
  
  <p>but neither of them worked for me. i am not sure if i am missing a step, i have not included the css or jar for font awesome because i am quite sure it comes built in in primefaces 5.2</p>