If you are using GAE cursors, then I'm mostly sure that they are forward 
only cursors. So if you want to make your pager working, you had to keep all 
received cursors in a list, to move back. 

So

[page-1] - > cursor null 
hit next
[page-2] -> cursor 1 
hit previous
[page-1] -> cursor null 


[page-1] - > cursor null 
hit next
[page-2] -> cursor 1 
hit next
[page-3] -> cursor 2 
hit previous
[page-2] -> cursor 1 (so when cursor2 is returned, you know how to move to 
page - 4, but don't know how to move to page 2.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/5trJtiumaH8J.
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-web-toolkit?hl=en.

Reply via email to