wood burning stoves*
The moose likes Struts and the fly likes Selecting the radio button in each iteration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Selecting the radio button in each iteration" Watch "Selecting the radio button in each iteration" New topic
Author

Selecting the radio button in each iteration

Nirakar Mohanty
Greenhorn

Joined: Mar 28, 2011
Posts: 2
Hi All ,

I am creating radio button inside iterator like as follows

<logic:iterate id="service" indexId="index" name="byobAccountsBean" property="serviceList">

<html:radio property="enrolled" value="true" name="service" indexed="index"/>Yes
<logic:iterate>

serviceList contains number of Service Object , so while iterating the last radio button is getting selected not the all , Can you please help me in thsi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Selecting the radio button in each iteration
 
Similar Threads
Radio Button values
Iterate a bean object and show radio button on some condition
bean:define not working in logic:iterate
display and posting of sets of controls
JSP Radio button value retrieval