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]

Reply via email to