Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic table with prev next links

 
Richard Elsberry
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65223
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Richard Elsberry
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear. That's kinda what I thought and what I've experienced also. I was hoping to save time.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to try out one, you can have a look at the Display Tag Library
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or the http://valuelist.sourceforge.net/ taglibrary that uses the value list handler design pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic