On Miércoles, 9 de Febrero de 2011 17:11:43 gs84 escribió: > Hi everybody, > > I am using Active Scaffold in list views. > I have to do some actions with query results after search action on > list. > So i have a method in my user controller called "export" which use the > result after search for exporting data into an xls file, but i don't > know how to get them. > > Can someone help me on those 2 questions : > 1) how can get the AS search result after search on list? > > 2) Can i use another method to export data records after search? >
You should send the search params to export action. If you add export link as an action link, you can change parameters in a before fiter (per-request configuration). > Thanks for your help -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
