• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image on a button in jsf

 
Mateusz Moroz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
temp.png
[Thumbnail for temp.png]
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try the image attribute that h:commandButton has?
 
Mateusz Moroz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it only switches the button with the image (in html the button is rendered as "< img ... />"), not puts the image on the button.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic