Florent Aide wrote: > Christoph Zwerschke wrote: >> Florent Aide wrote: >> >>> this means a maintenance release for 1.0.4 :-) >> Yes, but please wait a bit. > > Excellent. I'll wait for you to give me some signal :)
Ok, done now with refactoring paginate. I have checked everything in an overhauled the Wiki docs, adding a nice new demo application (pagedemo2) for the whole paginate functionality. The ordering of customized columns is a bit of a problem, because the paginate decorator does not know how to access the columns, since the getters are defined in the data grid which is detached from the paginate decorator. To make this possible, we would have to add another parameter to paginate, specifying the data grid to be used. Not sure whether it's worth the effor. A better idea (for 1.1 or 2.0) may be isolating the sorting functionality of paginate into a different decorator, and let the paginate decorator care only for the actual pagination. Then this new decorator for sorting could also implement things like nulls first/last and case insensitive ordering. -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
