Friday 15 August 2014

java - commandLink with specific icon size Primefaces/jsf -



java - commandLink with specific icon size Primefaces/jsf -

i'm trying set specific size icons because predefined seted 16x16 , small, no work.

<p:commandlink id="trash" styleclass="ui-icon ui-icon-trash myiconssize"/>

css:

.myiconssize { width:32px; height:32px; }

version:

primefaces 5.1

you can utilize graphicimage between .

try this:

<p:commandlink id="trash"> <h:graphicimage name="images/your_image.jpg" width="32" height="32"/> </p:commandlink>

java css jsf primefaces

No comments:

Post a Comment