struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dalibor Kezele" <>
Subject Re: How to set RadioButton value dynamically within Iterate?
Date Fri, 09 Nov 2001 11:27:11 GMT
From: "Greg Callaghan" <>
To: <>
Sent: Friday, November 09, 2001 3:19 AM
Subject: How to set RadioButton value dynamically within Iterate?

> Is it actually possible to set the value associated with RadioButtons
> an iterate loop.
> For example if the FormBean is a collection of possible answers and I
> like to set the value for each radio button (ie user will select one of
> answers) to the IDs for answers (ie database primary key).  Hence I really
> just want to be able to do this -:
> <input type="radio" name="ques1" value="34">Answer1 - Was it x<BR>
> <input type="radio" name="ques1" value="12">Answer1 - Was it z<BR>
> <input type="radio" name="ques1" value="123">Answer1 - Was it y<BR>
> In summary, is it possible in the <HTML:RADIO.. struts tag to DYNAMICALLY
> set the value of the value??????

I'm interested in that answer, too, cause I've a similar problem.

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

View raw message