I have a need for database driven dynamic radio buttons option which will have two values to choose from - Yes and No and i am not sure how to do it. The way i have it right now is
<c:for each var="types" > <html:radio property="selectedradio" value="Y"> Yes <html:radio property="selectedradio" value="N"> No </c:for each>
This doesn't run. what do i need to make it woktti
posted 9 years ago
The following is based is based on some working code (you can switch over to using the jstl tag instead of logic). In this case I would have a Collection of objects on my form with the method getItemValues(). My display action would be responsible for retrieving the list from the database and populating the form.