I'm trying to put an image/icon inside a button in Primefaces, problem is the image doesn't show. I'd used FireBug and look like the path is correct. Is there any problem or restrictions using Custom icons?
XHTML code:
<p:button type="button" value="Limpiar" icon="img-button-prismaticos" onclick="limpiar ();return false;" />
CSS Code:
.ui-state-default .img-button-prismaticos {
background-image: url('/dinarep/faces/javax.faces.resource/prismaticos-icono-9281-48.png?ln=images') !important;
}