| Author |
help with html radio tag
|
Aswathy TS
Greenhorn
Joined: Sep 29, 2008
Posts: 2
|
|
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
Joined: Feb 15, 2005
Posts: 4864
|
|
|
You will need to use Indexed properties for this. For more information on how to do this, see question 6 of our FAQ.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: help with html radio tag
|
|
|