I'm finding the JDO cursor usage documentation a bit confusing.
According to the docs at 
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors

To get the initial page of results:

query.setRange(0, 20); // which makes sense

Then to get the second page of results, it again uses:

query.setRange(0, 20); // which is confusing. Shouldn't it be
query.setRange(20, 40) ?

In addition, does the cursor allow one to specify the previous page to
enable support for a "Previous Page" button in the user interface?

Thanks. Any clarification would be very much appreciated.

Rick

-- 
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