I am searching an example of pagination with table/logic:iterate
tags.
        I read the documentation about JSP pager tag
(http://jsptags.com/tags/navigation/pager/) 
        but I don't understand well how use it with my JSP:

        <table width="100%" border="1" cellpadding="0" cellspacing="0"
bordercolor="#FFFFFF">

        <%-- Title for the columns of the table --%>
        <tr bgcolor="#FFCC00">
        <th align=left><bean:message key="status.id"/></th>
        <th align=left><bean:message key="status.service"/></th>
        </tr>

        <%-- List of  calls --%>
        <logic:iterate id="myCollectionElement" name="list"
type="com.compagny.call">
        <tr bgcolor="#CCCCCC">
          <td>
            <html:link href="id.do">
            <bean:write name="myCollectionElement" property="id"/>
            </html:link>
          </td>

          <td>
            <bean:write name="myCollectionElement" property="service"/>
          </td>
        </tr>
        </logic:iterate>
        </table>

        Has someone an exemple of JSP pager tag with Struts?
        Thanks for your help in advance,

        

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to