A good pager control can be built in jsp, given a Page of records, something like the following:
I have created a small gist with just such a jsp tag library, and it internally displays this pager using twitter bootstrap based styling. Using this tag library is simple, it just requires a "Page" as an attribute:
<util:pagination thispage="${aPage}"></util:pagination>
Here is a copy of the gist:
No comments:
Post a Comment