Using Ajax for pagination on Screen
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   adambomb_adam
Posted On:   Wednesday, December 12, 2007 03:53 PM

Hi , I have a jsp page which is an out put of a lot of queries. It displays a rows of data depending upon what was sent in the request object. Each row comes from a combination of atleast 5-6 tables and sometimes, it takes around 4-5 minutes to load the page. Although the users also understand the depth of this page, but I was thinking of making the UI a bit more graceful. One option was to do pagination in the backend but since it involves a number of queries, pagination would be kinda tough. I am using logic:iterate tag to get each of the rows. Is there a way in AJAX, so that I can limit the number of results to five rows at a time and then by means of an arrow link I should be able to see the next 5 and so   More>>

Hi ,
I have a jsp page which is an out put of a lot of queries.
It displays a rows of data depending upon what was sent in the request object.
Each row comes from a combination of atleast 5-6 tables and sometimes, it takes around 4-5 minutes to load the page.
Although the users also understand the depth of this page, but I was thinking of making the UI a bit more graceful.
One option was to do pagination in the backend but since it involves a number of queries, pagination would be kinda tough.
I am using logic:iterate tag to get each of the rows.
Is there a way in AJAX, so that I can limit the number of results to five rows at a time and then by means of an arrow link I should be able to see the next 5 and so on. The static part of the page should not reload. The best part of applying AJAX as I presume would be that most of the server interaction would be unnoticed to the user.
The technoliges I am using for this screen are hibernate and struts.
And ofcourse if javascript is not enabled on the browser, it should gracefully switch to the current method.

   <<Less
About | Sitemap | Contact