struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Haynes <>
Subject RE: dynamic variables into my struts tag? How?
Date Tue, 08 Oct 2002 16:01:17 GMT
Attached is a JSP, form and action class which does a similar thing (I
think) to what you need. 


-----Original Message-----
From: Vincent Stoessel []
Sent: 08 October 2002 16:38
To: Struts Users
Subject: dynamic variables into my struts tag? How?

Hello All,
I am building a results page in my struts app
that is iterating through an ArrayList. Everthing is working
wonderfully. For each fow I am making a radio button. I need that
radio button to hold a unique value that I can get from the ArrayList
but what is the best way to insert that dynamically into the 
<html:radio/> tag?

I want to produce something like:

<input type="radio" name="choose" value="1" > ...
<input type="radio" name="choose" value="2" > ...
<input type="radio" name="choose" value="3" > ...
<input type="radio" name="choose" value="4" > ...

I guess I could abandon <html:radio/ > tag
and just println(); but that does not seem half as cool.
Thanks in advance.

Vincent Stoessel
Linux Systems Developer

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message