hi i have one page where i have check boxes , when i select one check box and click the below <%= submit_to_remote ''activate'', ''Activate'', :url => {:action => ''search_activate''} %> below is my check box <%= check_box_tag "agency[agencys_id][]" , agency.id%> it is not even going to controller in the browser it is showing null object but the id is correct plz help -- Karthik.k Mobile - +91-9894991640 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hi you didnt pass the checkedbox value with the remote call take a look at the "locals" usage of the submit_to_remote hope this helps you nirosh On Aug 10, 11:53 am, karthik k <cse.k.kart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi > > i have one page > > where i have check boxes , when i select one check box and click the below > > <%= submit_to_remote ''activate'', ''Activate'', :url => {:action => > ''search_activate''} %> > > below is my check box > > <%= check_box_tag "agency[agencys_id][]" , agency.id%> > > it is not even going to controller > in the browser it is showing null object > > but the id is correct > > plz help > > -- > Karthik.k > Mobile - +91-9894991640
On Mon, Aug 10, 2009 at 12:36 PM, nirosh <kunalan.kandiah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > hi you didnt pass the checkedbox value with the remote call > take a look at the "locals" usage of the submit_to_remote > hope this helps you > > nirosh >Hi nirosh Thank you is there any links to read about this Thanks -- Karthik.k Mobile - +91-9894991640> > > On Aug 10, 11:53 am, karthik k <cse.k.kart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > hi > > > > i have one page > > > > where i have check boxes , when i select one check box and click the > below > > > > <%= submit_to_remote ''activate'', ''Activate'', :url => {:action => > > ''search_activate''} %> > > > > below is my check box > > > > <%= check_box_tag "agency[agencys_id][]" , agency.id%> > > > > it is not even going to controller > > in the browser it is showing null object > > > > but the id is correct > > > > plz help > > > > -- > > Karthik.k > > Mobile - +91-9894991640 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---