• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with html radio tag

 
Aswathy TS
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am displaying a list in a JSP page using the following code..The problem is i have to add 2 radio buttons(View & Edit) at the end of each row for the status field of each resource..The list is from resource table and this status is from roleresourcemapping table....I have tried with <html:radio> tag..but can select only one radio button at a time from the whole rows....Is there any other way to do this???


<logic:iterate id="data" name="resourcelist"
type="com.sp.dct.security.bo.ResourceBO" indexId="index">

<tr>
<td><html:multibox property="resourcechecked"
value="<%=data.getResourceName()%>"></html:multibox></td>

<td><bean:write name="data" property="resourceId" />

</td>
<td><bean:write name="data" property="resourceName" /></td>
<td><bean:write name="data" property="description" /></td>
<!--<td><html:radio property="status" value="V"/></td>
<td><html:radio property="status" value="E"/></td>-->
</tr>

</logic:iterate>
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to use Indexed properties for this. For more information on how to do this, see question 6 of our FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic