How is the best practise for "read" variable from a paginate datagrid 
inside a controller?


@tg.paginate(dynamic_limit='limit',var_name='grid_params', 
allow_limit_override=False)
    def index(self,tg_errors=None, **data):
      

In this example i expect to find the pagination variable ( 
tg_paginate_no, tg_paginate_ordering and so on ) inside the **data dict, 
but i think the paginate function use and destroy this information .
i've tryed tg.paginate.* but nothing... :-(


My purpose is to do a decorator for standard esportation of datagrid 
value in Csv, HTML and PDF format.
(My applicatio has over 100 table all exportable in standard format not 
paginated.
 From the URL i want to get tg_paginate_ordering  because when a user 
want to export datagrid can use the same ordering of that in the datagrid.




TurboGears 1.0.3.2


Thank you
Glauco


-- 
+------------------------------------------------------------+
 Glauco Uri  
 glauco(at)sferacarta.com 
                               
          Sfera Carta Software®       info(at)sferacarta.com
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+



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