Someone please resolve this query regarding pagination.

Hi,

I am facing a problem in using pagination using display tag:

When I do the search first time on my page,pagination works perfectly fine. But after persisting the data in database when I show the search results again from the session, pagination does not work.It shows the page numbers but all of them are non-clickable i.e. you can't navigate to next or previous page.

Anyone please tell me how to resolve this problem.

[449 byte] By [Pallav_Jaina] at [2007-11-27 1:09:12]
# 1
That is a code problem not a design problem.Although the statement that you are persisting something in the database might suggest a design problem.
jschella at 2007-7-11 23:44:27 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
But I am directly using display tag and its associated properties. Which part of the code could be causing this problem?
Pallav_Jaina at 2007-7-11 23:44:27 > top of Java-index,Other Topics,Patterns & OO Design...
# 3

> But I am directly using display tag and its

> associated properties. Which part of the code could

> be causing this problem?

Line 537 is definitely the problem. I can tell that from the code and explanation of the code that you posted in the forums that deal with code (not this one of course since that isn't the intent.)

jschella at 2007-7-11 23:44:27 > top of Java-index,Other Topics,Patterns & OO Design...