velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: Display tag for velocity
Date Thu, 21 Jul 2005 15:54:33 GMT
I'd forgotten about that (I think I wrote the PageList before that came 
out).  If I remember right, there's much similarity.  I'll take another 
look.

If you're not familiar with DisplayTag in JSP - it's fabulous.  It generates 
a complete (sortable) table with page numbers, next/previous arrows, etc. 
The look and feel is highly configurable using CSS.  While I know we've 
avoided HTML specific functionality in Velocity/Tools, a pageable table 
would be a useful future extension.

Best,
WILL



----- Original Message ----- 
From: "Nathan Bubna" <nbubna@gmail.com>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Thursday, July 21, 2005 8:32 AM
Subject: Re: Display tag for velocity


Will,

have you looked at the AbstractPagerTool in VelocityTools?  it hasn't
made it into a release yet (though it will soon, if my schedule ever
decides to be kind to me), but i think it covers much of the same
ground as your PageList.  do you think there's any improvements that
could be made to the tool?  i'd love to get feedback on it from
someone else who has had to implement list paging solutions for
velocity.

thanks,
nathan

On 7/21/05, Will Glass-Husain <wglass@forio.com> wrote:
> A little more info.  I've posted my PageList wrapper on the Wiki.  Let me
> know if it's useful.
>
> http://wiki.apache.org/jakarta-velocity/PageList
>
> Best, WILL
>
> ----- Original Message -----
> From: "Will Glass-Husain" <wglass@forio.com>
> To: "Velocity Users List" <velocity-user@jakarta.apache.org>;
> <mfortin@monetizeit.net>
> Sent: Thursday, July 21, 2005 7:53 AM
> Subject: Re: Display tag for velocity
>
>
> > Hi,
> >
> > I'm a big DisplayTag fan too.  It'd be neat if there was an exact analog
> > for Velocity, perhaps using custom tags.
> >
> > For Velocity output I've created a list wrapper that handles paging.  It
> > doesn't generate the table but it does auto-calculation of page numbers
> > and rows.
> >
> > WILL
> >
> > ----- Original Message -----
> > From: "Michael Fortin" <mikef@vendorpromotions.com>
> > To: "Velocity Users List" <velocity-user@jakarta.apache.org>
> > Sent: Thursday, July 21, 2005 6:45 AM
> > Subject: Display tag for velocity
> >
> >
> >> Hello everyone,
> >> I've used display tag (http://displaytag.sourceforge.net/) with struts
> >> several time.  It can be a handy little tag library.  Is there 
> >> something
> >> like this for velocity?  Can anyone suggest some ideas about how to 
> >> page
> >> through large tables of data and be able to sort them using velocity?
> >>
> >>
> >> Thanks,
> >> Michael
> >>
> >>
> >
> >
> > --------------------------------------------------------------------------------
> >
> >
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message