Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 93193 invoked from network); 2 Aug 2005 13:42:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 13:42:50 -0000 Received: (qmail 50934 invoked by uid 500); 2 Aug 2005 13:42:48 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 50915 invoked by uid 500); 2 Aug 2005 13:42:47 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 50902 invoked by uid 99); 2 Aug 2005 13:42:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 06:42:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [206.102.161.11] (HELO acn001glbmsx02.enterprisenet.org) (206.102.161.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 06:42:38 -0700 Received: from acn001glbmsx04.enterprisenet.org ([10.1.1.66]) by acn001glbmsx02.enterprisenet.org with Microsoft SMTPSVC(6.0.3790.1830); Tue, 2 Aug 2005 08:42:31 -0500 Received: from acn001schmsx02.enterprisenet.org ([10.1.1.12]) by acn001glbmsx04.enterprisenet.org with Microsoft SMTPSVC(6.0.3790.1830); Tue, 2 Aug 2005 08:42:23 -0500 Received: from vnu001schmxr02.enterprisenet.org ([10.14.32.154]) by acn001schmsx02.enterprisenet.org with Microsoft SMTPSVC(6.0.3790.1830); Tue, 2 Aug 2005 08:42:23 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C59768.02E4A304" Subject: Retrieving next page using pagenatedList Date: Tue, 2 Aug 2005 08:42:34 -0500 Message-ID: <03389DA2C46358428406540FC92B8F78257463@vnu001schmxr02.enterprisenet.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Retrieving next page using pagenatedList Thread-Index: AcWXaAmVGrD2SiH4SEmz/yilI2oekA== From: "Konda, Sreenivasulu \(Consultant\)" To: X-OriginalArrivalTime: 02 Aug 2005 13:42:23.0424 (UTC) FILETIME=[03183C00:01C59768] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C59768.02E4A304 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, =20 I looked at PagenatedList for implementing "Next" and "Previous" features on JSP page. =20 I am getting the list for first time to display a subset of records in the list, when user clicks Next button, I called isNextPageAvailable() and then nextPage(), but nothing happens. =20 My questions are: =20 1) How to get next/previous set of records using pagenatedlist(pseudo code would be of great help since I am new to iBATIS)? 2) As I read in the iBATIS developer guide, the pagenatedlist returns all rows(if 1000 records are matched for the given query, the list contains 1000 rows) matched for given query. If my understanding is correct, is there a way to restrict pagenatedlist not to retrieve 1000 records in first fetch? =20 Thanks and regards, Sreenivas ------_=_NextPart_001_01C59768.02E4A304 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi=20 All,
 
I = looked at=20 PagenatedList for implementing "Next" and "Previous" features on JSP=20 page.
 
I am = getting the=20 list for  first time to display a subset of records in the list, = when user=20 clicks Next button, I called isNextPageAvailable() and then nextPage(), = but=20 nothing happens.
 
My = questions=20 are:
 
1) How = to get=20 next/previous set of records using pagenatedlist(pseudo code would be of = great=20 help since I am new to iBATIS)?
2) As = I read in the=20 iBATIS developer guide, the pagenatedlist returns all rows(if 1000 = records are=20 matched for the given query, the list contains 1000 rows) matched for = given=20 query. If my understanding is correct, is there a way to restrict = pagenatedlist=20 not to retrieve 1000 records in first fetch?
 
Thanks = and=20 regards,
Sreenivas
------_=_NextPart_001_01C59768.02E4A304--