Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Selecting specific radio button in foreach loop

843836Mar 9 2005 — edited Mar 10 2005
After looking for an hour through google, I am here to ask what I would have thought would be an easy-fo-find answer. I'm using foreach to create a set of radio buttons on the screen. Because of the nature of the application, I have no idea what the exact values of the collection will be at runtime. How do I specify that the very first radio button should be in the "checked" condition when it is displayed? Thanks.


Ken
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2005
Added on Mar 9 2005
2 comments
497 views