Ok, I ended up going with :

<input type="radio" name="id" value="<bean:write
name="user" property="id" />" >

It works but it this the best way to do it?




Daniel Haynes wrote:
> Attached is a JSP, form and action class which does a similar thing (I
> think) to what you need. 
> 
> Dan
> 
> 
> 
> -----Original Message-----
> From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
> 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 
>  tag?
> 
> I want to produce something like:
> 
>  ...
>  ...
>  ...
>  ...
> ...
> 
> I guess I could abandon  tag
> and just println(); but that does not seem half as cool.
> Thanks in advance.
> 
> -- 
> Vincent Stoessel
> Linux Systems Developer
> vincent xaymaca.com
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> ------------------------------------------------------------------------
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to