The results are stored in the good old java.util.List. Ok, so i have to create the wrapper class. But i'm really wondering that displaytag works so well with a stupid list of business objects - very good work.
Thanks André -------- Original-Nachricht -------- Datum: Mon, 18 Dec 2006 06:15:44 -0800 (PST) Von: Paslaru Narcis Eugen <[EMAIL PROTECTED]> An: displaytag-user@lists.sourceforge.net Betreff: Re: [displaytag-user] Start and end index wrong > Hi, > > When you say you are storing them in request - the results of the query, > you mean you store them in a wrapper class that implements displaytag's > PaginatedList ? Or are you just storing the list ? > > Narcis > > ----- Original Message ---- > From: André Henke <[EMAIL PROTECTED]> > To: displaytag-user@lists.sourceforge.net > Sent: Monday, December 18, 2006 4:10:55 PM > Subject: Re: [displaytag-user] Start and end index wrong > > Hi Narcis, > > yes the pagenumber is correct (on the jsp and in the request). But i'm not > setting the pagenumber explicit. I'm only reading the pagenumber to > calculate the paging information and the rest is done by displaytag. > > What i'm doing is... > - reading the displaytag request parameter (e.g. > TableTagParameters.PARAMETER_ORDER = d-16544-p=3 for page 3) > - loading the list of objects with hibernate by setting the paging info > "maxresults, firstresult" and storing them in request > - loading the complete object size (select count(*)...) and storing them > in request > > that's all...something missing? > > André > > > -------- Original-Nachricht -------- > Datum: Mon, 18 Dec 2006 05:16:38 -0800 (PST) > Von: Paslaru Narcis Eugen <[EMAIL PROTECTED]> > An: displaytag-user@lists.sourceforge.net > Betreff: Re: [displaytag-user] Start and end index wrong > > > Hello, > > > > The page number is displayed correctly ? Are you sure you are seting the > > pageNumber correctly for your implementation of PartialList ? > > > > Regards, > > Narcis > > > > ----- Original Message ---- > > From: André Henke <[EMAIL PROTECTED]> > > To: displaytag-user@lists.sourceforge.net > > Sent: Monday, December 18, 2006 3:11:36 PM > > Subject: [displaytag-user] Start and end index wrong > > > > Hi, > > > > the start and end index, regarding to property > > "paging.banner.some_items_found", is not displayed correctly in partial > list. The size is right, the > > "first/prev/next/last/pagenumber" information is correct as well and > paging > > works like a charm, but the start and end index displays always the > first > > 26 items (1 to 26) > > > > here my table def: > > > > <display:table > > name="portlist" > > class="simple" > > pagesize="26" > > id="row" > > requestURI="listport.do" > > sort="external" > > defaultsort="1" > > defaultorder="descending" > > partialList="true" > > size="listSize" > > > > Any ideas? Thanks > > > > André > > > > > > > > > > -- > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > displaytag-user mailing list > > displaytag-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > -- > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user