I like this idea. Thanks. It seems like paging it something that might be worth adding to ww somewhere? Just a thought.
In other news, I think I fixed the IncludeTag bug. Now if I can just get cvs working through ssh on this windows box, I'll be in business. Been up for too long though, going to sleep for now. --Erik On Wed, 13 Nov 2002, boxed wrote: > > I return a very, very long list and would like to be able to page through > > it. I have a startIndex and count. The link to the next page should be > > startIndex=(startIndex+count); Since the business end was getting the list > > in the first place, this indexing stuff seemed like it belonged on the > > view end, but I guess I'll add a nextIndex and previousIndex fields or > > something. > > Here comes a big advantage of doing just this. If getNextIndex() and > getPreviousIndex() return Integer, you can return null if there is no > previous/next index. The view code (with tags) will be: > > <ww:if value="nextIndex"> > <a href="something?<ww:property value="nextIndex"/>">next</a> > </ww:if> > > etc. Which is a clean way of only showing the next and previous links if > they will lead to something relevant! > > // Anders Hovmöller > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork