[google-appengine] Re: One Page at a Time

2009-03-30 Thread ryan

On Mar 27, 6:03 pm, ben  wrote:
>
> 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...

sure! we hope to eventually support this automatically, but you can do
it right now in user land. details:

http://groups.google.com/group/google-appengine/browse_thread/thread/ee5afbde20e13cde
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: One Page at a Time

2009-03-28 Thread niklas

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  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  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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: One Page at a Time

2009-03-27 Thread ben

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  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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: One Page at a Time

2009-03-27 Thread ben

Swt!  Thank you!

On Mar 27, 3:51 pm, djidjadji  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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: One Page at a Time

2009-03-27 Thread djidjadji

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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---