-
1. Re: Problem adding an image to h:commandButton
diegocoronel Aug 15, 2008 2:13 PM (in response to shasho)try it using CSS, i did it in my button and it works fine.
<h:commandButton styleClass="bt_fundo_idoctor_2" onmouseover="className='bt_fundo_idoctor_f2_2'" onmouseout="className='bt_fundo_idoctor_2' > </h:commandButton>
and my images are defined in css
-
2. Re: Problem adding an image to h:commandButton
shasho Aug 15, 2008 3:16 PM (in response to shasho)Many thanks for the quick answer
One remark, this solution doesnt look as good as the original request because one can still see the 3D of the button, the picture is on the button instead of replacing it
without any other alternative I will use it
I wonder what is the bug, the cause of adding the seesionid? I found similar fixed problem in myfaces, does someone know if this bug was also solved for JavaServer Faces ?
-
3. Re: Problem adding an image to h:commandButton
rmcdonough Oct 1, 2008 11:51 PM (in response to shasho)I'm facing the same exact issue and I don't think it's a problem with Seam or RichFaces. This post kind of explains the issue:
http://www.jroller.com/greenhorn/?page=2
However his solution doesn't really work for me since my is running off the root context. It would appear that this is an issue with the JSF RI, but I can't confirm it. I'll post back here if I find a workable solution.
Ryan-