Thank you very much, but I'm afraid, we implemented the second solution
suggested by the documentation, using plain old java.util.List and
parameters instead of using PaginatedLists, any other idea please?

Thanks,

Luis

On 1/3/07, Paslaru Narcis Eugen <[EMAIL PROTECTED]> wrote:

Hello,

What you could do is store the pageNumber in the session and the next time
you are entering the page with the table, set the page number of the
PaginatedList to the previously stored pageNumber.

Good Luck !

----- Original Message ----
From: Luis Cornide <[EMAIL PROTECTED]>
To: DisplayTag List <displaytag-user@lists.sourceforge.net>
Sent: Wednesday, January 3, 2007 4:51:06 PM
Subject: [displaytag-user] Setting the current page in partial listing

Hi list,

I'm using the display tag to show a list of items retrieved from a
database, this list can be very long, so we are using partial listing.
Besides, we want to store the data in session so the next time the user
access to that page, the data has not to be retrieved again from the
database. If the user was looking at the, for example, 4th page of results,
how I can set the current page number? is there any property that can be set
with the setProperty tag? can I to use a Decorator? how can I set the
current page with a decorator?

Thanks in advance,

Luis Cornide
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to