I cannot find a way to pick the arrow icons like the ones present in the PickList component, in order to use them in other CommandButtons.
Well, I know that in order to use an icon in CommandButton, one has to follow these instructions:
<p:commandButton outcome="target" icon="star" title="With Icon"/>
having defined the star icon in a css file:
.star {
background-image: url("images/star.png");
}
but I would prefer to use exactly the same arrows as for the PickList component.
Primefaces use jQuery themeroller for styling UI. All of the used icons in Primefaces are from there. Just mouseover icon you like (in themeroller) and something like :
.ui-icon-arrow-1-ewill pop. Then use it like this: