struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perry Minchew" <>
Subject Radio buttons and iterate
Date Tue, 07 Nov 2006 19:44:43 GMT
Hi all,


I asked this question earlier, but did not see a response, so I'll try
again. Here's my jsp


<logic:iterate id="admins" name="requestList">

<tr><td> <bean:write name="admins" property="dn"/> </td>

<td><bean:write name="admins" property="givenname"/></td>

<td><bean:write name="admins" property="sn"/></td>

<td><bean:write name="admins" property="telephonenumber"/></td>

<td><bean:write name="admins" property="mail"/></td>

<td><bean:write name="admins" property="portal"/></td>

<td><bean:write name="admins" property="requestedApp"/></td>

<td><html:radio property="reqStatus" value="PENDING"

<html:radio property="reqStatus" value="APPROVED"

<html:radio property="reqStatus" value="DENIED"





So I'm iterating over the array list (requestList) and displaying
information from our oracle database. I get solid output for the 4 in my
test list. However, all of the radio buttons are "linked". At the admin
screen, I see 12 radio buttons, and only one of them is marked (the last
one). Clicking a radio button on a row above makes the "global" radio
change. How do I make each row have it's on radio set with the iterate




Perry Minchew

Systems Integrator

SPAWAR Systems Charleston

Office : (843) 218.7031

Cell : (843) 822.1555


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message