Hi, I have a related question regarding pagination. How can I display the pagination links and text like
3 items found, displaying all items. 1 in the same line instead of 2 lines like 3 items found, displaying all items. 1 Also is there a way to skip the above message when all the items are getting displayed in the table. Thanks, Praveen On 4/20/05, Rick Herrick <[EMAIL PROTECTED]> wrote: > Yaakov Chaikin wrote: > > >How would the displayTag know to show only records 11-20 when the user > >clicks "page 2" link? Does it assume that all 100 records would get > >stuck into the request again and it would paginate it, giving you > >"page 2" based on what it assumes was supposed to be in page 1? > > > > > Yes. The list would need to be in the request again. The pagination > would go to the n-th page (where n is whatever is specified in the > pagination param). That page would display items starting at (n - 1) * > p + 1 and going up to n * p (where p is page size). > > >Is pagination something you can configure somewhere, i.e., how many > >items to show per page? Can it be configure for how many subItems to > >show per shown item? Can it be configured to paginate based on lines > >on the screen, not items shown? > > > > > There is a property called paging.banner.group_size that you may be able > to put in your display.properties bundle, but I'm not sure if that's it > (you'd think it would be page_size, not group_size). It's defined in > the default TableTag.properties as 8, so... > > Anyways, the easy way to change the page size is to set the pagesize > attribute: > > <display:table pagesize="20"> > ... > </display:table> > > For the subitems per item, I'm guessing you're talking about grouping? > I don't really know. The question about pagination based on lines per > screen, not items shown.... No, I don't think you can. I haven't done > that much, though, so I could be wrong. > > -- > Rick Herrick > [EMAIL PROTECTED] > > I haven't got time for inner peace. > > Get out of control, but appear under control. It's not bad to alarm other > people, though--it's good for them.--Hunter S. Thompson > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime info, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > displaytag-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/displaytag-user > ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

