Meaningless Drivel is fun!*
The moose likes Struts and the fly likes iterating on radio buttons in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "iterating on radio buttons in struts" Watch "iterating on radio buttons in struts" New topic
Author

iterating on radio buttons in struts

PB Bhat
Greenhorn

Joined: Dec 20, 2002
Posts: 6
HI
I have to create a group of radio buttons in such a way that, it has to be nested inside an outer loop.
eg.
<logic:iterate.................>
<html:radio1................>
<html:radio2................>
<html:radio3................>
</logic:iterate>
The radio buttons are having 3 different values of the same propery of a bean. If i hard code it the way i showed in the eg.,it works fine. I
want to write a loop instead of writing three different <html:radio......>.
Can anyone help me with this?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: iterating on radio buttons in struts