title: JSF show icon without Button
body: <p>I want to show the icons without buttons but it doesn't work. I get the following message: no Mime-Type was Found.</p>
  <p>The two icons are default icons from Primefaces.</p>
  <p>I use JSF 2.1 and primefaces 3.5</p>
  <pre><code>&lt;h:graphicImage rendered=&quot;#{!task.IS_SEEN}&quot; name=&quot;ui-icon-mail-closed&quot;/&gt;
  &lt;h:graphicImage rendered=&quot;#{task.IS_SEEN}&quot; name=&quot;ui-icon-mail-closed&quot;/&gt;
  </code></pre>
  <p>If I use buttons it would work or can I set that the button can not be pressed</p>
  <pre><code>&lt;p:commandButton rendered=&quot;#{!task.IS_SEEN}&quot; icon=&quot;ui-icon-mail-closed&quot; /&gt;
  &lt;p:commandButton rendered=&quot;#{task.IS_SEEN}&quot; icon=&quot;ui-icon-mail-open&quot; /&gt;
  </code></pre>