Can you give me actual jsp code on how you used the pager tag. i find it
hard to customize it. thanks
----- Original Message -----
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 5:36 AM
Subject: Re: paginator tags


> Hi
> u may wanna have a look at this
> http://jsptags.com/tags/navigation/pager/index.jsp
>
> it works well for me
>
> Ashish
>
> --- alexj <[EMAIL PROTECTED]> wrote:
> > you may use <display tag> or struts-el
> > here is a sample from JSTL in Action :
> > <%@ taglib prefix="c"
> > uri="http://java.sun.com/jstl/core"; %>
> >
> > <c:set var="totalCount" scope="session"
> > value="100"/>
> >
> > <c:set var="perPage" scope="session" value="20"/>
> >
> > <c:forEach
> >
> > var="boundaryStart"
> >
> > begin="0"
> >
> > end="${totalCount - 1}"
> >
> > step="${perPage}">
> >
> > <a href="?start=<c:out value="${boundaryStart}"/>">
> >
> > [
> >
> > <c:out value="${boundaryStart}"/>
> >
> > -
> >
> > <c:out value="${boundaryStart + perPage - 1}"/>
> >
> > ]
> >
> > </a>
> >
> > </c:forEach>
> >
> > <c:forEach
> >
> > var="current"
> >
> > varStatus="status"
> >
> > begin="${param.start}"
> >
> > end="${param.start + perPage - 1}">
> >
> > <c:if test="${status.first}">
> >
> > <ul>
> >
> > </c:if>
> >
> > <li><c:out value="${current}"/></li>
> >
> > <c:if test="${status.last}">
> >
> > </ul>
> >
> > </c:if>
> >
> > </c:forEach>
> >
> > --
> > Alexandre Jaquet
> > ----- Original Message -----
> > From: "Jacky Kimmel" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, March 06, 2003 9:22 PM
> > Subject: paginator tags
> >
> >
> > >
> > > Does anyone know how to implement paginator tags?
> > Ie: you have a list of
> > 30 items out of 100.  You now want to display the
> > next 30 and so on.
> > >
> > >
> > >
> > > Also, I am using application.resource for all
> > labels.  I want to have a
> > name with a trademark symbol as a superscript.
> > Anyone know how to do this?
> > >
> > >
> > >
> > > ---------------------------------
> > > Do you Yahoo!?
> > > Yahoo! Tax Center - forms, calculators, tips, and
> > more
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> =====
> A$HI$H
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> ---------------------------------------------------------------------
> 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]

Reply via email to