wood burning stoves 2.0*
The moose likes JSP and the fly likes Dynamic table with prev next links Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Dynamic table with prev next links" Watch "Dynamic table with prev next links" New topic
Author

Dynamic table with prev next links

Richard Elsberry
Ranch Hand

Joined: Mar 14, 2001
Posts: 40
Anybody heard of a component/taglib that will display a list in a JSP page. You see them everywhere. They usually contain a next and previous link as well as 1-5 out of 50 and additional links like 1 2 3 4 5 to jump ahead in a group of 50. I started to write my own and thought that this must be available somewhere but have been unable to find one. I sorely need something like this for my toolkit.

Thanks in advance,
Richard
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

There are a number of them out there. I don't have any links handy as I personally found them too limited or badly architected (essentially forcing you use Model 1 pages). So I rolled my own. It's really not that hard. If your own is close to working and does what you want, I'd continue with it.

There's a JSP FAQ entry on the subject.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Richard Elsberry
Ranch Hand

Joined: Mar 14, 2001
Posts: 40
Thanks Bear. That's kinda what I thought and what I've experienced also. I was hoping to save time.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If you want to try out one, you can have a look at the Display Tag Library


[My Blog]
All roads lead to JavaRanch
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
or the http://valuelist.sourceforge.net/ taglibrary that uses the value list handler design pattern.


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic table with prev next links