Exactly. The entire subscriptions sub-table for the account should be
refreshed when a new subscription is added.

On Jan 27, 10:15 am, Kenny Ortmann <[email protected]> wrote:
> So you have an accounts page.
>
> subscriptions are nested under accounts.
>
> When you open an accounts subscriptions and then create a subscription under
> that account, you want to refresh the subscriptions for that account.
>
> is this correct?
>
> On Wed, Jan 27, 2010 at 11:41 AM, George <[email protected]> wrote:
> > Is there an easy way to tweak the AJAX response so that an entire
> > nested table is refreshed when a record is added, instead of simply
> > adding the new record?
>
> > I have a situation where I have a nested table of dependencies (in
> > this case, subscriptions) for an accounts page. I have customized the
> > create action to add a new subscription record for the account.
> > Because the create action modifies another subscription record in this
> > table, I would like to either refresh that column as well or simply
> > refresh the entire nested table.
>
> > --
> > 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]<activescaffold%[email protected]>
> > .
> > For more options, visit this group at
> >http://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.

Reply via email to