|
First I would like to thank Rick Herrick and Jay Bose for their in-time answers.
- I want to build an alphabetical index above a displaytag table so that when I click on a letter, the list will be filtered in a way that only rows with some column (which is specified somewhere) starting with that letter are showed and paged. I don't know if that function is included in displaytag or not. If I have to do that by myself, this is my solution (could you look at it and say if it's good or bad or so so? thanks):
I will put the whole list (which I call 'list') and another list (which I call 'display list') in the session. The displaytag in a jsp file shows the content in the display list. When I click on a letter, I will change the display list and forward the request to the jsp page containing the display tag.
- This is my 2nd problem. Suppose that I have a very long list (of about 1000 records). I page them by 10 records per page. So the paging banner will be from 1 to 100, which is very long. Is there a way to let the paging banner show only 10 numbers? For example, the paging banner will show from 1 to 10. When we are at 10 and click next, we'll go to page 11 and at the same time, the paging banner will show from 11 to 20.
Thank you.
Thai
|
- [displaytag-user] How to build an alphabetical index for disp... Thai Dang Vu

