Ditto, I just checked this out and wish I'd known about it sooner! -----Original Message----- From: Mazza, Glen R, PERSCOM [mailto:[EMAIL PROTECTED]] Sent: August 28, 2002 7:28 AM To: 'Joe Barefoot'; Struts Users Mailing List Subject: RE: Result paging for site search results
Thanks, Joe, for alerting the list to this display taglib--I just looked at the link you provided--it looks very professional/displays very well. Glen > -----Original Message----- > From: Joe Barefoot [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 2:03 PM > To: Struts Users Mailing List > Subject: RE: Result paging for site search results > > > Simon, > > I'm not sure if you are handling very large ResultSets and > need database-aware paging (i.e., user clicks "next", and the > next 25 results are fetched from DB, vs. having them all in a > Collection that you are "paging" through in-memory). If you > aren't handling very large volumes, I suggest you check out > the very savvy display taglib (link below). If you may be > handling large volumes in the future (but not right now), it > can easily be replaced later with a custom paging > implementation. It works well in conjunction with Struts; > basically, you just stuff your Collection into the request, > and the tag uses Struts-like syntax plus the commons > utilities to access properties of the objects in your > collection. Sorting and paging are supported (and style > classes), and you can add dynamic output to table rows using > a TableDecorator class that uses the Decorator pattern to > 'massage' data from your Collection objects. Very simple, > and very well documented w/ examples, JSP source, etc. > > http://edhill.its.uiowa.edu/display/ > > > peace, > Joe > > > > -----Original Message----- > > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 27, 2002 10:49 AM > > To: 'Struts Users Mailing List' > > Subject: RE: Result paging for site search results > > > > > > This very topic was discussed at length just a couple of days > > ago. Check > > the archives: > > > > http://www.mail-archive.com/struts-user%40jakarta.apache.org/ > > > > Mark > > > > -----Original Message----- > > From: simon.o'[EMAIL PROTECTED] [mailto:simon.o'[EMAIL PROTECTED]] > > Sent: Tuesday, August 27, 2002 12:59 PM > > To: Struts Users Mailing List > > Subject: Result paging for site search results > > > > > > > > All > > > > I am a newbie so if this question sounds a bit simple don't shoot... > > > > I am developing a search page and want to break the results > > into pages of > > containg 25 results per page. I know I can use the "offset" > > and "length" > > parameters on the iterator tag but I can't seem to be able > to pass the > > formBean maintaining the results data to the next > page...... any ideas > > > > Thanks in advance. > > > > Simon. > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>