I'm working with displaytag library, it's perfectly adapted for my solution, but i'm having a problem with the pagination and the sorting, is not really an issue of diplaytag it's a requirement of my client. This is what is happening: when displaytag makes a pagination, for example it's showing 5 rows, when i pass to the second page i need to displaytag works with the same list, but is making the query again, My suggestion was work with a sessionScope list but it's was rejected.
I need some help, if there is some way to make displaytag work in memory let me know please.
Thanks and sorry for my english.
jelias3010.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
You can try with your requestURI property. Is must be the same to your action forward.
<display:table ... requestURI="/yourAction.do" ... name="sessionScope.yourSessionName" sort="page" >
Hope this helps you.
Best regards, Khoa.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
I'm working with displaytag library, it's perfectly adapted for my solution, but i'm having a problem with the pagination and the sorting, is not really an issue of diplaytag it's a requirement of my client. This is what is happening: when displaytag makes a pagination, for example it's showing 5 rows, when i pass to the second page i need to displaytag works with the same list, but is making the query again, My suggestion was work with a sessionScope list but it's was rejected.
I need some help, if there is some way to make displaytag work in memory let me know please.
Thanks and sorry for my english.
jelias3010.
Hi,
You can try with your requestURI property. Is must be the same to your action forward.
<display:table ... requestURI="/yourAction.do" ... name="sessionScope.yourSessionName" sort="page" >
Hope this helps you.
Best regards, Khoa.