[ http://jira.codehaus.org/browse/DISPL-36?page=comments#action_49254 ]
Ralf Hauser commented on DISPL-36: ---------------------------------- I got it working with <% String pgSize = (String) session.getAttribute("pgSiz"); if (pgSize == null || pgSize.length() == 0) {pgSize ="30";} int pgSizeInt = Integer.valueOf(pgSize).intValue(); session.setAttribute("pgSiz", pgSize); %> //some calculations on list size <display:table uid="t1" name="sessionScope.results" pagesize="<%=pgSizeInt%>"" export="true" defaultorder="descending"> > dynamic pagesize (user decision) > -------------------------------- > > Key: DISPL-36 > URL: http://jira.codehaus.org/browse/DISPL-36 > Project: DisplayTag > Type: New Feature > Components: Paging/Sorting > Versions: 1.0 RC1 > Reporter: fabrizio giustina > Priority: Minor > > > ==== > imported from sf tracker > id 1011575 > submitted by Ralf Hauser - ralfhauser > http://sourceforge.net/support/tracker.php?aid=1011575 > ==== > e.g. with webmail inbox, typically the provider > suggests a pagination default size (e.g. 20), but users > often can choose to increase that to 50, 100, or all > probably, this is possible without an enhancement to > the library jar, but it would be great to add a working > example/tutorial example derived from > http://www.displaytag.org/example-paging.jsp -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel