i want to create an new icon to use in my p:commandButton
but i failed i used this methode
but didnt work for me . i will show you my code :
CSS CODE :
.img-button-help { background-image: url('img/mag.ico') !important; }
jsf CODE :
<p:commandButton icon="img-button-help" value="test" />
result :
new result ->
how to use customed icons in Primefaces ??