I need to update the contents of scaffold without reloading the entire
page.
I can create an action link easily enough to add the action link required:
config.action_links.add('refresh', :label => 'Refresh', :inline => true,
:position => false)
But I'm not sure how to re-render the scaffold.
I believe the partial I need to render is the 'list' partial, but this
requires the @page and @records instance variables be populated.
I'm sure how I should be populating these?
Alternatively, is there another, easier way to refresh a scaffold?
Cheers
Dave Smylie
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/activescaffold/-/y7JROPZbynAJ.
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.