You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Leonardo Maciel <LM...@Scient.com> on 2002/05/15 15:38:33 UTC

RE: Applying struts submit and reset button tags functionality to images

you are right use <html:image instead

<from_working_code>
...
   <html:image property="login" src="/images/butn_go_white_bg.gif"
alt="login" />
...
</from_working_code>


-----Original Message-----
From: Robert Taylor [mailto:rtaylor@mulework.com]
Sent: Wednesday, May 15, 2002 9:37 AM
To: Struts Users Mailing List
Subject: RE: Applying struts submit and reset button tags functionality
to images


I think the <html:image tag renders as <input type="image" .../> which is
what you need.
At least that is what I'm using in Struts 1.0.

robert

> -----Original Message-----
> From: Leonardo Maciel [mailto:LMaciel@Scient.com]
> Sent: Wednesday, May 15, 2002 9:28 AM
> To: Struts Users Mailing List
> Subject: RE: Applying struts submit and reset button tags functionality
> to images
>
>
> use <html:img tag
>
> -----Original Message-----
> From: Yaman Kumar [mailto:yamank@nous.soft.net]
> Sent: Tuesday, May 15, 2001 9:26 AM
> To: Struts Users Mailing List
> Subject: Applying struts submit and reset button tags functionality to
> images
>
>
> Hi,
> Can any one help in applying struts submit /reset buttons
> to images.
>
> <html:submit>submit</html:submit>
>
> <html:submit>reset</html:submit>
>
> To
>
> <img src="<bean:write name="ctxtPath"/>/images/submit.gif" width="42"
> height="22" border="0">
>
> <img src="<bean:write name="ctxtPath"/>/images/reset.gif" width="42"
> height="22" border="0">
>
> Many Thanks,
> rayaku
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>