Fea, You should really look at the DisplayTag site's examples. They show how to do the looping on your collection and how to add the hrefs for linking to your application. After reading those, you'll be able to redo your JSP without assistance. See http://www.displaytag.org
Regards, David -----Original Message----- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 1:24 PM To: user@struts.apache.org Subject: struts - displaytag table In the JSP I have the below. which is working fine using struts tags. Now would like to use displaytags as it has auto sorting of columns. How can I convert the below to use displaytag? as the form that's used in the jsp is different from the one that's used to display the data in the table. <table class="single-line-table"> <tr class="columnHeader"> <td class="columnHeader"><bean:message key="lbl.name"/></td> <td class="columnHeader"><bean:message key="lbl.type"/></td> <td class="columnHeader"><bean:message key="lbl.status"/></td> <td class="columnHeader"><bean:message key="lbl.date"/></td> </tr> <logic:iterate name="Form1" property="prm" id="runs" type="com.formbeans.Form2"> <tr> <td> <a href="action1.do"> <bean:write name="runs" property="name"/> </td> <td > <bean:write name="runs" property="type" /> </td> <td> <bean:write name="runs" property="status" /> </td> <td> <bean:write name="runs" property="date" /> </td> </tr> </logic:iterate> </table> I would appreciate your help. this forum has been a great help for me. thanks. _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]