aspose file tools*
The moose likes JSF and the fly likes Image on a button in jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Image on a button in jsf" Watch "Image on a button in jsf" New topic
Author

Image on a button in jsf

Mateusz Moroz
Greenhorn

Joined: Oct 29, 2008
Posts: 21
Hi,

I'm trying to create a button in jsf with image on it. The effect I need is like on the picture.
Can somebody help?

Regards


[Thumbnail for temp.png]

Sergey Smirnov
Ranch Hand

Joined: May 29, 2003
Posts: 167
Did you try the image attribute that h:commandButton has?
Mateusz Moroz
Greenhorn

Joined: Oct 29, 2008
Posts: 21
Yes, it only switches the button with the image (in html the button is rendered as "< img ... />"), not puts the image on the button.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image on a button in jsf