You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ryan Shillington <lo...@yahoo.com> on 2003/06/30 23:53:15 UTC
Adding id attributes to tags
In order to test my application with HTTPUnit, I need
to be able to identify my links. I can't figure out a
way to put an id inside of the link when using the
<html:link/> tag.
I have a hard time believing that I'm the first to us
HTTPUnit with struts :-). I've checked the archives
and couldn't come up with anything. Anybody?
I'm using Struts 1.1
Thanks,
Ryan
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Adding id attributes to tags
Posted by "K.C. Baltz" <kc...@lollimail.com>.
Did you try the styleId attribute?
K.C.
Ryan Shillington wrote:
>In order to test my application with HTTPUnit, I need
>to be able to identify my links. I can't figure out a
>way to put an id inside of the link when using the
><html:link/> tag.
>
>I have a hard time believing that I'm the first to us
>HTTPUnit with struts :-). I've checked the archives
>and couldn't come up with anything. Anybody?
>
>I'm using Struts 1.1
>
>Thanks,
>
>Ryan
>
>________________________________________________________________________
>Want to chat instantly with your online friends? Get the FREE Yahoo!
>Messenger http://uk.messenger.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Adding id attributes to tags
Posted by "Prashanth.S" <su...@yahoo.com>.
Hi ryan,
Use paramId and paramName attributes of <html:link> tag to pass single name-value pair.Instead if u need to pass multiple name-value pairs you need to use hashmap..
Hope this helps.
Cheers
Prashanth
Ryan Shillington <lo...@yahoo.com> wrote:
In order to test my application with HTTPUnit, I need
to be able to identify my links. I can't figure out a
way to put an id inside of the link when using the
tag.
I have a hard time believing that I'm the first to us
HTTPUnit with struts :-). I've checked the archives
and couldn't come up with anything. Anybody?
I'm using Struts 1.1
Thanks,
Ryan
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!