Amaninder Singh

Greenhorn
+ Follow
since May 13, 2008
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amaninder Singh

And I am sorry for all those irritating &it. I am new to Javaranch as well. So lack of experience. I was forced by an error message to replace all "<" with "&it" and the result is what you see above. Kindly help folks
14 years ago
Hi all...
I trying to migrate an existing application to struts framework. In a particular jsp, we get some result records based on some particular criteria. All the records are in the form of text boxes so that we can edit the fields and make changed in database. After making changed to the text fields, we need to select a radio button to select the record which will be modified. The following is the code of jsp:-

< body>
< html:form action="/modify" method="post">
< table border="1">
< tr>
< th>Asset Id< /th>
< th>Asset Name< /th>
< th>Category< /th>
< th>Description< /th>
< /tr>
< logic:iterate name="records" id="record">
< tr>
< td>< html:text name="record" property="assetid" />< /td>
< td>< html:text name="record" property="assetname" />< /td>
< td>< html:text name="record" property="assetcategory" />< /td>
< td>< html:text name="record" property="description" />< /td>
< td>< input type="radio" name="select" value=< bean:write name="record" property="assetid"/>>< /input>< /td>

< /tr>
< /logic:iterate>
< /table>
< hr/>
< html:button value="Modify" property="modify_result" style="background-color:wheat" onklick="javascript:validate_form();"/>



< /html:form>
< /body>



Can anyone tell me the code to do the same thing using <html:radio>?

-- fixd < characters
[ May 13, 2008: Message edited by: Merrill Higginson ]
14 years ago