RE: images in html buttons

2003-03-22 Thread Tai Nguyen
Wayne, You can use standard HTML to render your button, but you lose the advantages of automatic context path maintenance. Is there a specific reason you don't want to use html:image buttons? Tai -Original Message- From: Wayne A Christian [mailto:[EMAIL PROTECTED] Sent: Thursday, March

RE: images in html buttons

2003-03-20 Thread Wendy Smoak
Wayne wrote: Within the body of a standard HTML button tag, I can place HTML, such as the img tag and this will get rendered as the button image. With struts html:button tag, this doesn't work and I get the raw text rendered as the button text. Is there a way around this other than going

RE: images in html buttons

2003-03-20 Thread Wayne A Christian
: mailto:[EMAIL PROTECTED] -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 12:45 PM To: 'Struts Users Mailing List' Subject: RE: images in html buttons Wayne wrote: Within the body of a standard HTML button tag, I can place HTML

RE: images in html buttons

2003-03-20 Thread Raible, Matt
Just use an HTML button. There's nothing in struts that prevents you from hand-coding HTML. The html:button tag just renders and input type=button... - just view-source and substitute the required values accordingly. I do this all the time. Matt -Original Message- From: Wayne A

RE: images in html buttons

2003-03-20 Thread Wendy Smoak
To: Struts Users Mailing List Subject: RE: images in html buttons Wendy, So you use the style sheets as a way to attach the image to the button?