Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4963097
By: srins
I am using pagination using display tag,
It will display as below,
In this,
158 items found, displaying 1 to 15.[First/Prev] 1, 2, 3, 4, 5, 6, 7, 8
[Next/Last]
Name Manager User
embed sap srin
vkb NSS Lis
savebutton
By default it will display 1 st page.
If I am choosing the 6 th page in pagination,it will display corresponding rows
as the above.
I choose one row and clicked savebutton,it will take to separate action. And
again it is redirecting to page 1 instead of page 6.
So,In all corresponding actions I am maintaining the current page clicked (using
display tag table properties) say for Eg: 6 and retrieve back in jsp.
As,
String currentPage = (String) request.getAttribute("currentPage");
And i am getting correct value as "6".
I am trying to override display tag properties to get page 6 as well as in link
display as page 6 in bold.
<display:setProperty name="paging.banner.page.selected"
value="<%=currentPage%>" />
I am able to get page 6 data.
But I am getting this link as wrong.
505 items found, displaying 76 to 90.[First/Prev] 6, 2, 3, 4, 5, 6, 7, 8
[Next/Last]
Can any one help in this regard.
I referred ,
http://displaytag.sourceforge.net/11/configuration.html
Can any one correct here what I am doing wrong in getting this link displayed
wrongly and how to correct it.
Thanks,
Srins.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user