Hi,

let me give you an example, hopefully I ve understood you correctly.
A team has many players.

You ve opened nested players list view for team Dallas Mavericks.
And you want to "move" player Dirk Nowitzki to Seattle Supersonics.

Easiest solution:
configure players controller:
conf.update.refresh_list = true
conf.update.hide_nested_column = false

edit form will show team column and you can change it.
After save whole list will be refreshed and player Nowitzi is gone...

If you need your custom action please search for 'refresh_list' in
activescaffold code and see how it is implemented

Hope that helps.

--
Volker



On 13 Mai, 15:24, smcphill <[email protected]> wrote:
> Sorry if this has been covered before; I did search the group and
> elsewhere but results weren't great.
>
> I've got a custom "move" action inside a nested scaffold, which does
> the unthinkable by changing the parent association. It works fine: if
> I reload the page, everything shows up just fine. I would much rather
> prefer my users didn't have to reload the page though...
>
> So how do I go about reloading my parent scaffold? I'm currently
> trying through over-riding on_update.js.rjs, which seems right, but I
> just can't get it working.
>
> Is there a simple way to trigger a reload of a parent's scaffold?

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

Reply via email to