Displaying 2 results from an estimated 2 matches for "ajax_generator".
2006 Mar 15
0
Ajax_generator as a component for master/detail use?
I''m experimenting with the Ajax Generator for the first time and I''m
trying to setup a master/detail edit page.
My goal is to display both the Master info and the detail records on a
single page. And allow detail records to be created/edited/deleted on
the fly.
Not sure its possible, but that''s what I''m trying to do.
=== Details
I have an existing master
2006 Mar 15
5
Passing params to a component
I see from http://rubyonrails.org/api/classes/ActionController/Components.html
that is possible to pass paramaters to a component.
I don''t understand the exact syntax.
I''m trying:
@master_id = @params[''master_id'']
in the components controller but it is not working.
==== Details:
In my calling view I have:
<%= h(@opportunity.id) %>
<div