I am trying to display a button with image only on my page but all I see is the button with ^. Following is the code for my button:
Put this on your css style:
.dolar-icon { background-image: url("#{facesContext.externalContext.request.contextPath}/resources/imagenes/dolar.png") !important;}
Now you can use the icon "dolar-icon" that you defined in your css.