Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8496661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:54:55+00:00 2026-06-10T23:54:55+00:00

on primefaces 3.3 there is this component called carousel. their example shows that they

  • 0

on primefaces 3.3 there is this component called carousel.
their example shows that they have all the data loaded from a constructor on from the backing bean all at once. this is good if you have small amount of content

obviously if I have let say 3000 items to display, it will dump all of it to the browser making it too hard for the server and even for the client to navigate.

what I would like to do is. when the user click previous or next button of carousel, I would like dynamically in some sort of ajax pass the index of the the last content that and fetch new one, let say if it was visible from 1 to 5, and the user pressed the next button on the backing bean send the 5, so I can fetch 6 t0 10.
how can I can do that,
is this feature can be actually accomplished in jsf 2.0 and primefaces.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:54:57+00:00Added an answer on June 10, 2026 at 11:54 pm

    As Damien noted, PrimeFaces’ Carousel doesn’t support lazy loading. However PrimeFaces’ DataTable does support this and has a similar look and feel.

    For an excellent example of the DataTable with lazy loading see PrimeFaces’ showcase.

    Of course you can try to modify the source of PrimeFaces since it is an open source project. But I think the DataTable alternative is easier. 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a feature that displayable tooltip for disabled commandButton in primefaces.
I have a modal ConfirmDialog that is shown over a modal Dialog using PrimeFaces
I have a data table. Each row of the table has a commandButton called
I have been trying to solve this problem all day, I googled a lot,
I want to change the size of a PrimeFaces component. For example, a <p:orderList>
I have a (JSF 2.0/ Primefaces 2.2RC-SNAPSHOT) app that has <p:layout> I use a
I want to have a component that looks like a button, but instead of
I have a PrimeFaces checkbox on a JSF page that I'd like to check/uncheck
I am using JSF 2.0 and PrimeFaces 2.2. I have a data table whose
I have this code that works although I would expect it to fail. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.