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,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to