[ https://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281693#comment-281693 ]
Mauro commented on DISPL-304: ----------------------------- Hi everyone, I'm new in using displaytag. I'm using 1.1 version and I have the following problem. I have to fix a problem in code made by an other person. We have to display a list of element paging it at 100 at 100 if the number of elements is more than 100. The problem is that in the page 1 I see "1250 items found, diplayed from 1 to 100", but also in the second page, in the third and go on, I see the same message, instead I'd like to see "...displayed from 101 to 200", "...201 to 300" and etc. I have seen that there is a property called "paging.banner.some_items_found" in the displaytag.property file and it's used to show that message, but it does not work correctly. Can anyone help me to solve the problem? Thanks to all Here are some parts of my code in the jsp page <display:table sort="external" requestURI="/abc.do?mth=paging&sensible=${param.sensible}" name="sessionScope.abcList" id="item" pagesize="100" htmlId="abcTable" class="dataGrid" style="border:0px;display:inline" excludedParams="*" decorator="" partialList="true" size="pageScope.pagListConf.totalList" offset="${pagListConf.offSet}" > in the properties file paging.banner.some_items_found="<div class="toolbar" id="displayNavigator">{0} {1} found, displayed from {2} to {3}" > External paging paging.banner.some_items_found displays 1-10 in the second > page (other pages as well) > ------------------------------------------------------------------------------------------------------ > > Key: DISPL-304 > URL: https://jira.codehaus.org/browse/DISPL-304 > Project: DisplayTag > Issue Type: Bug > Components: Paging/Sorting > Affects Versions: 1.1 > Reporter: Emmanuel > Fix For: 1.2 > > Attachments: patch-displ-304.txt > > > I'm using external paging using , I am not using the interface (first way to > do it) just using getting the parameters and sending the partialList to the > table. > parameter = request.getParameter ( new > ParamEncoder(tableName).encodeParameterName( parameter ) ); > the property paging.banner.some_items_found displays 1-10 when I go to the > other pages. e.g. > 116 items found, displaying 1-10. > Pages: 1 (2) 3 4 5 6 7 8 > is there a property or something I need to set in order to show the proper > numbers e.g. 20-30 > thanks in advance -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel