On Monday 30 July 2007 12:23:37 jo wrote: > Hi all, > > I would like to change the parameter value of a paginate decorator at > runtime...but I don't know how to do that... > I start setting the limit parameter to 10 but I would like to give to > the user the capability to custumize it. > Could someone tell me how do that thing? > > @paginate(var_name='data', default_order='code', limit=10, > allow_limit_override=False)
Well... You're saying that you don't allow overriding the limit, so it is a bit contraditory with what you said. Have you tried making it True and passing the new value on the URL? -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

