A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Other Open Source Projects
declaration of pageNumber in "pg:pager" that is pager taglib
Joined: Oct 03, 2005
Sep 12, 2006 06:46:00
I am using pager tag library in my
for pagination. I writing the code for previous and next buttons in the following way;
<pg:prev><a href="<%=pageUrl%>">[<< Prev]</a></pg:prev>
<a href="<%= pageUrl %>"><%= pageNumber %></a>
<pg:next><a href="<%= pageUrl%>">[Next >>]</a></pg:next>
Here I want to know where to declare the "pageUrl" and "pageNumber" variables and is it necessary to export both of them in the pg:pager tag?
If anybody worked on the same them please reply.
Author and ninkuma
Joined: Jan 10, 2002
Sep 12, 2006 09:45:00
This taglib is not a standard part of JSP. I've mvoed this to the Other Open Source projects forum for you.
Asking smart questions
Books by Bear
subject: declaration of pageNumber in "pg:pager" that is pager taglib
How to make a paging
probelm in pager tab.
Paging with TagLib pg:pager
jsp tag pagination and tiles
[pages tags & jsp] - How can I make TOP and BOTTOM paging work?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014