struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Stoessel <vinc...@xaymaca.com>
Subject Re: dynamic variables into my struts tag? How?
Date Tue, 08 Oct 2002 18:19:54 GMT
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:vincent@xaymaca.com]
> 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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message