title: Rendered attribute for Boolean type is not working in primefaces
body: <p>I am using rendered attribute for p:graphicImage. In that i am checking a field which is boolean type             . Rendered is not working for this boolean type. In DB this field is BIT type.</p>
  
  <p>In DB, value for this field is 1. Default value in DB is 0. When i give as != 0 in rendered, it is showing as true and for == 0 in rendered, it is showing true itself. 
  What is the syntax for checking boolean type in rendered attribute in primefaces?</p>
  
  <p>Below is my code:</p>
  
  <p></p>
  
  <pre><code>  &lt;p:graphicImage value="/Images/abc.png"  
          rendered="#{!(MedicineList.goal eq '0')}"&gt;
  
    &lt;/p:graphicImage&gt;
  </code></pre>
  
  <p></p>
  
  <p>In above code, MedicineList is dataTable's variable and goal is the field which is BIT type in mysql.
  Thanks. Any help would be greatly appreciated.</p>