You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sławek Tuleja <tu...@wp.pl> on 2005/08/18 17:33:10 UTC
link with img and request attribute
Hi EveryBody
i have problem with this:
1) i have:
<a href="PreAddComment.do?idUser=<bean:write name="user" property="idUser" />">add</a>
2) and it works fine, but i want to put image button insted of link "add"
3) how do i have to do that?
<html:link href=" ? ? ? ? ">
<html:img page="/button.gif" />
</html:link>
4) where put <bean:write name="user" property="idUser" /> ?
thanks for reply
regards
----------------------------------------------------
Weź udział w naszym letnim konkursie AlleJazda!
Główna nagroda to Nisan Micra!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Faj.html&sid=472
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: link with img and request attribute
Posted by Jurn Ho <ju...@magicmonster.com>.
replace text 'add' with
<img src="addbutton.gif"/>
or a struts <html:img>
You may also want to change your a href into a <html:link>.
cya,
Jurn
At 01:33 AM 19/08/2005, =?ISO-8859-2?Q?S=B3awek_Tuleja?= wrote:
>Hi EveryBody
>
>i have problem with this:
>
>1) i have:
>
><a href="PreAddComment.do?idUser=<bean:write name="user"
>property="idUser" />">add</a>
>
>2) and it works fine, but i want to put image button insted of link "add"
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org