Hello all, I have two comboboxen, comboA is popultaed when :controller/list is retrieved first time. When comboA is selected, I want to auto-populate comboB (modelB belongs_to modelA). The population of tableC (modelC belongs_to modelB and belongs_to modelA) should not populate until a "GO" button is clicked (link_to with submit). Help? I need an example of how to filter the post @params and also how to preserve teh selections when "GO" is clicked. In my current code, "GO" returns a @params with no extra values (controller/action only) Thanks for your your advice! -- Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 10/31/05, Peter Fitzgibbons <peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello all, > I have two comboboxen, comboA is popultaed when :controller/list is > retrieved first time. > When comboA is selected, I want to auto-populate comboB (modelB belongs_to > modelA). > The population of tableC (modelC belongs_to modelB and belongs_to modelA) > should not populate until a "GO" button is clicked (link_to with submit). > Help? I need an example of how to filter the post @params and also how to > preserve teh selections when "GO" is clicked. In my current code, "GO" > returns a @params with no extra values (controller/action only) > Thanks for your your advice! > > -- > Peter Fitzgibbons >-- Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 10/31/05, Peter Fitzgibbons <peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello all, > I have two comboboxen, comboA is popultaed when :controller/list is > retrieved first time. > When comboA is selected, I want to auto-populate comboB (modelB belongs_to > modelA). > The population of tableC (modelC belongs_to modelB and belongs_to modelA) > should not populate until a "GO" button is clicked (link_to with submit). > Help? I need an example of how to filter the post @params and also how to > preserve teh selections when "GO" is clicked. In my current code, "GO" > returns a @params with no extra values (controller/action only) > Thanks for your your advice! > > -- > Peter Fitzgibbons >-- Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails