Hello...
This is my first post in the forum as I'm quite new in using primefaces.
My problem is that when I'm trying to put an icon in <p:commandButton it doesn't show it
here is my line of code
<p:commandButton value="addToCart" image="images/icons/cart.jpg" style="margin-left: 50px"/>
I would appreciate any help
thanks in advance...
image not shown in <p:commandButton
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Welcome,
See user's guide to see how icons are applied, you need to provide it via a style class actually.
See user's guide to see how icons are applied, you need to provide it via a style class actually.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 66 guests