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)
   def index(self,**data):
            ...
            ...


thank you!

jo



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to