paging problem -------------- Key: DISPL-672 URL: https://jira.codehaus.org/browse/DISPL-672 Project: DisplayTag Issue Type: Bug Components: Paging/Sorting Affects Versions: 1.1 Reporter: Mauro
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}" -- 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