RE: Logic Tag Library and (Iterator) List Navigation

2001-06-11 Thread Shamdasani Nimmi-ANS004

Hi Oleg,

Could you please send me the class and JSP too. Thanks.

-Nimmi

-Original Message-
From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 3:07 PM
To: Matt Raible
Subject: Re: Logic Tag Library and (Iterator) List Navigation


Hello Matt,

I can send you Pager class, used to generate ArrayList of links to the
pages in this result set, and a piece of jsp code to display it. I
think it can used for any container wich implements Collection
interface.

Thursday, June 07, 2001, 5:57:12 PM, you wrote:

MR Has anyone used logic:iterator to display a list of records, and
MR corresponding list navigation links at the bottom?

MR For instance, I have an Iteration of DataObjects that I can list through
MR with the following code:

MR while (iteratorName.hasNext()) {
MR dataObject = (DataObject)iteratorName.next();
MR out.println(dataObject.getName());
MR }

MR I'm assuming I can do this with the Iterator tag, however, I would also like
MR to display the following at the bottom of the list:

MR First  |  1-10  |  11-20  |  20-30  | Last

MR Where there are 30 records returned.

MR Any ideas?

MR Thanks,

MR Matt


MR _
MR Do You Yahoo!?
MR Get your free @yahoo.com address at http://mail.yahoo.com



-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]




Re: Logic Tag Library and (Iterator) List Navigation

2001-06-07 Thread Oleg V Alexeev

Hello Matt,

I can send you Pager class, used to generate ArrayList of links to the
pages in this result set, and a piece of jsp code to display it. I
think it can used for any container wich implements Collection
interface.

Thursday, June 07, 2001, 5:57:12 PM, you wrote:

MR Has anyone used logic:iterator to display a list of records, and
MR corresponding list navigation links at the bottom?

MR For instance, I have an Iteration of DataObjects that I can list through
MR with the following code:

MR while (iteratorName.hasNext()) {
MR dataObject = (DataObject)iteratorName.next();
MR out.println(dataObject.getName());
MR }

MR I'm assuming I can do this with the Iterator tag, however, I would also like
MR to display the following at the bottom of the list:

MR First  |  1-10  |  11-20  |  20-30  | Last

MR Where there are 30 records returned.

MR Any ideas?

MR Thanks,

MR Matt


MR _
MR Do You Yahoo!?
MR Get your free @yahoo.com address at http://mail.yahoo.com



-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]





Re: Logic Tag Library and (Iterator) List Navigation

2001-06-07 Thread Matt Raible

Please send it - and an example if you have one.

Thanks,

Matt

- Original Message -
From: Oleg V Alexeev [EMAIL PROTECTED]
To: Matt Raible [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 2:07 PM
Subject: Re: Logic Tag Library and (Iterator) List Navigation


 Hello Matt,

 I can send you Pager class, used to generate ArrayList of links to the
 pages in this result set, and a piece of jsp code to display it. I
 think it can used for any container wich implements Collection
 interface.

 Thursday, June 07, 2001, 5:57:12 PM, you wrote:

 MR Has anyone used logic:iterator to display a list of records, and
 MR corresponding list navigation links at the bottom?

 MR For instance, I have an Iteration of DataObjects that I can list
through
 MR with the following code:

 MR while (iteratorName.hasNext()) {
 MR dataObject = (DataObject)iteratorName.next();
 MR out.println(dataObject.getName());
 MR }

 MR I'm assuming I can do this with the Iterator tag, however, I would
also like
 MR to display the following at the bottom of the list:

 MR First  |  1-10  |  11-20  |  20-30  | Last

 MR Where there are 30 records returned.

 MR Any ideas?

 MR Thanks,

 MR Matt


 MR _
 MR Do You Yahoo!?
 MR Get your free @yahoo.com address at http://mail.yahoo.com



 --
 Best regards,
  Olegmailto:[EMAIL PROTECTED]



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com