On Sun, Jun 28, 2009 at 1:06 PM, Timothy Perrett <timo...@getintheloop.eu>wrote:
> > You don't mention if your using JPA or Mapper - if your using mapper > then the answer is "no" we don't have any built in support but its not > to difficult to display limited lists. You could grab all the results > then do some manipulation on the list in memory if you only have a > small dataset, alternatively you could craft your own queries using > limiting / offsetting. Tim, Selecting a subset of stuff with Mapper is pretty simple: Users.findAll(OrderBy(User.id, Ascending), StartAt(50), MaxRows(10)) > > > Alternatively, if your using JPA, you can use the stuff built into > jpa; more info here: http://is.gd/1hfCg > > Cheers, Tim > > On Jun 28, 8:44 pm, Naftoli Gugenhem <naftoli...@gmail.com> wrote: > > Does lift have built in support for pagination -- breaking up a query and > continuing it across multiple pages, and clicking the headers to sort? > > If not how hard is it? > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---