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
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
: 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
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
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?
5 matches
Mail list logo