Hi,

mark_all did not work correctly for embedded controllers.
Unfortuently, I ve messed up my fork. So please replace the following
in list_columns_helper.rb
def mark_column_heading

url_params = {:action => 'mark_all'}
url_params = {:controller => params_for[:controller], :action =>
'mark_all', :eid => params[:eid]}

On 29 Apr., 09:39, "Sergio Cambra .:: entreCables S.L. ::."
<ser...@entrecables.com> wrote:
> On Miércoles, 28 de Abril de 2010 19:17:43 Jose Lecumberry escribió:
>
> > The problem is that it is embedded on another controller.
> > <%=  render  :active_scaffold => "config7960s", :label => 'Cisco 7960
> > Configurations' %>
> > I tested directly, without embedding it, and works fine.
> > But what if i want to add something else to the displayed page?
>
> You can add it in the layout, or override list.html.erb in your
> app/views/config7960s directory:
> [YOUR HTML]
> <%= render :super %>
>
>
>
>
>
> > On Apr 28, 2:29 am, "mrbana...@googlemail.com"
>
> > <mrbana...@googlemail.com> wrote:
> > > Hi,
>
> > > if you click select_all to select all records, this checkbox is
> > > deactivated during processing.
> > > If something during processing fails I think it might happen that
> > > checkbox stays deactivated.
> > > Can you please check if that is the case in your issue.
> > > You should see some errors in your log file..
>
> > > --
> > > Volker
>
> > > On 27 Apr., 19:16, Jose Lecumberry <norba...@gmail.com> wrote:
> > > > Cool, I already added it to my project.
> > > > I will be working on the actions, ill let you know how it goes.
>
> > > > ps: when "select all" is checked i cannot uncheck it, nor all check
> > > > boxes get checked is it supposed to be like that ??
>
> > > > thx
>
> > > > On Apr 27, 8:06 am, Atastor <mich...@portzblitz.de> wrote:
> > > > > Nice! Any plans to merge this into master?
>
> > > > > Regards
> > > > > Michael
>
> > > > > On 27 Apr., 08:58, "mrbana...@googlemail.com"
>
> > > > > <mrbana...@googlemail.com> wrote:
> > > > > > Hi,
>
> > > > > > Take a look
> > > > > > athttp://github.com/vhochstein/active_scaffold/commit/30ceee8bd7e1a
> > > > > >33f8...
>
> > > > > > 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 yourlistviewfor 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 <norba...@gmail.com> wrote:
> > > > > > > Hi:
>
> > > > > > > I am trying to do a multiple select table, i want to add a column
> > > > > > > of checkboxes to theListviewand then execute a table-style action
> > > > > > > link ononlythose 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
> > > > > > > activescaff...@googlegroups.com. To unsubscribe from this group,
> > > > > > > send email to activescaffold+unsubscr...@googlegroups.com. 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 activescaff...@googlegroups.com. To
> > > > > > unsubscribe from this group, send email to
> > > > > > activescaffold+unsubscr...@googlegroups.com. 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 activescaff...@googlegroups.com. To unsubscribe
> > > > > from this group, send email to
> > > > > activescaffold+unsubscr...@googlegroups.com. 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 activescaff...@googlegroups.com. To unsubscribe
> > > > from this group, send email to
> > > > activescaffold+unsubscr...@googlegroups.com. 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 activescaff...@googlegroups.com. To unsubscribe from this
> > > group, send email to activescaffold+unsubscr...@googlegroups.com. For
> > > more options, visit this group
> > > athttp://groups.google.com/group/activescaffold?hl=en.
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com
>
> --
> 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 activescaff...@googlegroups.com.
> To unsubscribe from this group, send email to 
> activescaffold+unsubscr...@googlegroups.com.
> 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 activescaff...@googlegroups.com.
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to