• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pager tag library

 
s penumudi
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am Oager tag library for paging in my lists. everything is working fine.
But the problem is
Lets say there are 10 pages and I am currently viewing 6th page.
After viewing it I clicked on another link in the jsp page.
And Later came back to my list. Requirement is I should be looking at 6th again when I return back.

I am able to see show the same page. But the problem is page number that pager tag library diplays does not reflect the page number 6 but 1.

I am guessing that Pager object can be either in page/request scope hence the pageNumber implicit variable is getting reset to 1 when I navigate to some other page and get back to list.

What I don't understand is when I click on any of the page number hypelinks, it shows the right page number.

I don't know what it is getting right page numbe this time. What difference will it make when I click on the page number or any other link. In both cases a new request is posted.

Can some please clarify my doubts. and any suggestions on how this can be acheived.

Thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no standard "Oager tag library", so it might be helpful to point out what 3rd party library you are using.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!