Hi All,
I need to override paging.banner.full,I don't know how to do that for {0}: numbered pages list ,
Basically,In Pagination, if I have 8 pages,like
505 items found, displaying 1 to 15.[First/Prev] 1, 2, 3, 4, 5, 6, 7, 8 [Next/Last] It displays 15 rows per page. If I click on 7th page and save couple of rows using save button(I.e save action). 505 items found, displaying 91 to 105.[First/Prev] 3, 4, 5, 6, 7, 8, 9, 10 [ Next/ Last ] I have override this paging.banner.some_items_found
So I am getting,
05 items found, displaying 91 to 105 as correct. So,after particular action say save action I am able to retrieve. 505 items found, displaying 91 to 105 But I am getting First/Prev] 1, 2, 3, 4, 5, 6, 7, 8 [Next/Last] always selected as first. I need to retrieve the current page I clicked after performing I.e it show as [First/Prev] 3, 4, 5, 6, 7, 8, 9, 10 [ Next/ Last ] after Save action. How to override paging.banner.full to achieve this.
For 505 items found, displaying 91 to 105,
I formed,
String sifBanner = sifBannerH + totalMatchCount + " items found, displaying " + firstItem + " to " + lastItem + "." + sifBannerF; totalMatchCount,firstItem,lastitem values I got from database,
inForm.setSifBanner(sifBanner);request.setAttribute("sifBanner", sifBanner);
Setted this in form bean and request variable and retrieved in JSP as,
<display:setProperty name="paging.banner.some_items_found"
value="<%=sifBanner%>" /> Same thing ,I need to do for paging.banner..full.
I don't know how to override {0}: numbered pages list
Please help in this regard.
Thanks, Srini. |
Best Jokes, Best Friends, Best Food. Get all this and more on Best of Yahoo! Groups.
------------------------------------------------------------------------- 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 displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user