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 8124163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:22:54+00:00 2026-06-06T06:22:54+00:00

I am currently introducing a mobile friendly version of our web-application. In a first

  • 0

I am currently introducing a mobile friendly version of our web-application.

In a first step I transformed a rich:dataTable with a lot of columns into a rich:dataList containing only a few columns as values.

The old table used pagination and I want to reuse this existing mechanism to some extend in the new list. In the new list, however, I don’t want to paginate but append! So when I click on a “Load More” button, I want to append the new elements to the already existing ones.
However appending should not happen on the server side, but on the client side. Because the normal mechanism is to append elements on the backing bean’s list on “Load More” and then trigger some reRendering (e.g. via ). The result of this, is that the old data is fetched from the server again, which I don’t want. I just want the new data, which is the next pagination, to be appended to the already existing ones.

Does someone has an idea, how I can realize that?

(limiting factors: JSF 1.X and Richfaces 3.X [in combination with jQuery mobile])

An list pagination example (it’s primefaces, cause I couldn’t find a richface example): http://www.primefaces.org/showcase/ui/dataListAjax.jsf And something like this I want to transform into an infinite list with a “Load More” button.

Would really appreciate your help and/or ideas about that!

Thanks in advance!

  • 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-06T06:22:56+00:00Added an answer on June 6, 2026 at 6:22 am

    Just in case somebody else is interested in this…
    I found a solution or rather a workaround:

    I introduced another rich:dataList, that gets rerendered every time I click on “Load More”.
    The “Load More” button is a “a4j:commandButton” and its action triggers pagination. Finally I use its oncomplete-attribute to call a JavaScript function, that moves the next pagination (temporary list) to my main list via jQuery DOM manipulation.

    It works just fine

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

Sidebar

Related Questions

I'm introducing a DAO layer in our application currently working on SQL Server because
Our .NET application currently calls an SSIS package. Is there a way, without introducing
We are currently introducing facebook and twitter login functionality for our users both on
I'm currently introducing Prism to a new Wpf application, and am using the MVVM
We are currently introducing DBIx::Class in our team and we would like to start
Currently, I have a GWT based application /app.htm It displays an openId login button
Currently i am consuming web service from android by the method SOAP.Here i need
Currently writing a C# application it should do backups using GIT in the background.
I have an ASP.net Web Site Project (.net 3.5). Currently all of the non-code
I am trying to construct a serialisation system for our application that must be

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.