I've been struggling trying to add an image to an IceFaces pushButton.
My last try was adding an image nested to pushbutton tags like this:
<ace:pushButton actionListener="#{logoutCtrl.logout()}">
<h:graphicImage value="img/logout.png" width="20px" height="20px"/>
</ace:pushButton>
But unfortunately it didn't work. The page shows the button with no label and than the image, like:
I've found this link where they mentioned that it should be fixed since version 2.x, so I am probably doing something wrong.
P.S - I would normally use Prime Faces but I don't have a choice in this case.