How To add pagination for LOV?

Posted on 2011-10-10
Medium Priority
Last Modified: 2013-11-24
Dear Experts,

i need to add lov/suggestion list to my web page, so i am using rich faces(rich suggestion box),
and i got it, but i want to show only 15 items at first and for the remaining items needs to be add pagination, means if i click 2 then next 15 items, in this manner for remaining items

Kindly advise me how can i achieve this, by using Java Script/JSF/Rich Faces
Question by:BhanuSVS
  • 3
  • 2
LVL 83

Accepted Solution

leakim971 earned 1000 total points
ID: 36946101

Author Comment

ID: 36946342
Hi Leakim,

Thanks For u r reply.

 In the above three links the rich:datascroller attached to rich:dataTable, but i want to attach the rich:datascroller to rich:suggestionList .

Please help me.
LVL 83

Expert Comment

ID: 36946492
do you have a link to documention on rich:suggestionList?
or confirm it's about suggestionbox (and in this case, you really pagination on this) : http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_suggestionbox.html
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 36949822
Hi leakim97,

Thanks for u r prompt response,

i came to know it is not possible to add pagination for LOV, i know we can add the pagination for <rich:datatable>, but In the pagination instead of page numbers(1,2,3), i want to implement the concept like  with NEXT and PREVIOUS buttons. i.e if i click NEXT, it has to show next 15 records in data table, again 15 records if click NEXT but, previous 15 records if he click PREVIOUS button.

Kindly give me your suggestion.
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 36953930
my easy suggiestion is
use display table(dispalyTag)
its inbulit pagination so you eash  to display the values nothing you can do in ur side ...


Author Closing Comment

ID: 36969644
Thanks for the response.

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
A solution for Fortify Path Manipulation.
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question