Hello,
GAE REST predefines pagination with sorting with no additional code
needed. It only lacks a link or button named 'next'.
It enables user selectable sort order and pagination from the http get
query for the first 10 elements sorted by for example date modified:
content(type='Entity')?order=modif...@d&from=0&to=10
and elements 10 to 20 sorted by date
content(type='Entity')?order=modif...@d&from=10&to=20
or sorted by price
content(type='Entity')?order=pr...@d&from=10&to=20
Regards
Niklas
http://github.com/fczuardi/gae-rest/tree/master
On Mar 28, 3:03 am, ben <[email protected]> wrote:
> That is a great article.  I learned alot!
>
> Of course, having my cake is simply not enough. :-)  Is it possible to
> have user selectable sort order AND pagination?  My guess is that
> things get quit a lot more complicated at this point...
>
> On Mar 27, 3:51 pm, djidjadji <[email protected]> wrote:
>
> >http://code.google.com/appengine/articles/paging.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to