Hi,
Pagination for display tag can be done using 2 ways
1.Using the value list pattern.
In this case the current page no the user clicked can be retrieved by
getting the value of the request parameter *page*
* String currentPageNo=request.getParameter("page");*
**
2.Using partial lists
Again you can retrieve the current page viewed by getting the request
parameter as follows
(Integer.parseInt(request.getParameter((new
ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_PAGE)
Regards ,
Kamesh Rao
On 3/28/07, Praveen Kumar <[EMAIL PROTECTED]> wrote:
HI jason,
String dtPageValueRP = request.getParameter(dtPage);
Thanks
Praveen
On 3/28/07, Jason Ji <[EMAIL PROTECTED]> wrote:
>
> Hello gurus ,
>
> I am using the display tag to implement the pagination, and I need to
> know which page the use is viewing , how could I get the current page number
> ?
>
> Thanks in advance ,
>
> Jason
>
> ------------------------------
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel
sites<http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0A>to
find flight and hotel bargains.
>
>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
--
Thanks
Domma Raju Praveen Kumar.
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user