Very nice. I've been trying pagination for just a couple of days so
this is very helpful.

 I had discovered that column ordering doesn't work with lists so I've
been looking for a work-around. Recipe 2.6 in the Python Cookbook has
an efficient means of "sorting a List of Objects by an Attribute of the
Objects".  Is there a way to access the pagination variables in the
controller so the list could be sorted before it is passed to the
template?

Even better, is there a chance that the pagination decorater could be
extended slightly to accept an attribute name (as opposed to the column
name that the SelectResult can use) to sort the list?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to