[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: RE: actions only for html:form ?
From: Mohan Radhakrishnan <MohanR () hclcomnet ! co ! in>
Date: 2002-10-31 13:41:40
[Download RAW message or body]
Hi,
I might be slightly confused here.
Is the following right ?
<a href="logoff.action" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('x','','images/x.gif',1);">
<img name="x" src="images/x.gif" width="59" height="34" border="0" alt="">
</a>
If it is not then this is how it should be.
<html:link page="/logoff.action" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('x','','images/x.gif',1);">
<html:img name="x" src="images/x.gif" width="38" height="34" border="0"
alt="">
</html:img>
</html:link>
Am I right? The second method is not liked by the parser. logoff.action can
have an action that must eventually forward to login.jsp.
Thanks,
Mohan
-----Original Message-----
From: Marcus Biel [mailto:Marcus.Biel@bmw.de]
Sent: Thursday, October 31, 2002 5:19 PM
To: struts-user@jakarta.apache.org
Subject: Re: actions only for html:form ?
Well, of course you can put your image into the link instead of text,
just like you would do it with simple html.
I have to admit so far I never used an image link,
so I still sugest you to look in your struts docu,
but it should be something like:
<html:link page="/logoff.do" ><html:img>image.jpg</html:img></html:link>
marcus
--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic