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 Christian [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 10:38 AM
> To: struts user (E-mail)
> Subject: images in html buttons
> 
> 
> 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 to image maps 
> which don't work the same way as buttons do?
> 
> Wayne Christian
> Sr. Staff Software Engineer
> Genesys Telecommunications Labs
> 2100 Gateway Centre Blvd.  Suite 300
> Morrisville,  NC      27560
> ?     Office: (919) 466-6151
>       Fax:    (919) 466-6157
> ?     EMail:  mailto:[EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to