Hi, Take a look at http://github.com/vhochstein/active_scaffold/commit/30ceee8bd7e1a33f865c538830349ad7cee60624
Should provide you exactly what you need. If you integrate these changes into your active_scaffold, you can simply do the following: conf.actions.add :mark This will automatically add a checkbox to your list view for each record. If you mark a record it will be stored in users session. If you trigger your action b_modify, you can just call <Model>.marked to retrieve all marked records and then you can perform any operation you want. -- Volker On 26 Apr., 18:23, Jose Lecumberry <[email protected]> wrote: > Hi: > > I am trying to do a multiple select table, i want to add a column of > checkboxes to the List view and then execute a table-style action link > on only those rows where the box is checked? > > What i am trying is to edit multiple rows at once from a single > table. > > I have 2 issues: > 1- I havent been able to add the virtual column, need help. > 2- I created the link to the controller "config.action_links.add > 'b_modify', :label => 'Batch Modify', :type => :collection" , once I > check the checkboxes how do I send the checkboxes to the controller? > > Can you provide a simple example? > Thanks > > -- > 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 > athttp://groups.google.com/group/activescaffold?hl=en. -- 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.
