Hello all, I just committed a change to the paginate code (at r3014) in the 1.0 branch.
http://tinyurl.com/2ub6ya I'd like your feelings about the new functionality. It helps to control the limit of the pagination by looking into the dictionary returned from the controller for a value the user has designated in the decorator declaration. It avoids to have to fiddle with the URL parameters to change the limit and anyways it is also better IMHO since it does not force the programmer to set the "allow_limit_override" to True which is not always desirable... Please send your comments and flames ;-) If no big shouting occurs I'll also apply this to the trunk... Regards, Florent. PS: I know I am using the trunk/branch in a somewhat awkward fashion, since we normally should introduce changes in the trunk before back-porting them to the 1.0 branch. But hey! the trunk will be cleaned-up during the next sprint. And it is going through too much changes at the moment to be the right place to test such small an improvement as the one I introduce here. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
