Hello everybody, I read about the for helpers 1. submit_to_remote 2. form_remote_tag 3. link_to_remote 4. form_for I''m confused about which one to use and when, please can anyone help me understand them thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 13 Jan 2008, at 05:57, nettome wrote:> > Hello everybody, > > I read about the for helpers > > 1. submit_to_remote > 2. form_remote_tag > 3. link_to_remote > 4. form_for >form_for isn''t an ajax helper. It''s just for building regular forms link_to_remote is your basic ajax helper. it creates a link which when clicked makes an ajax request form_remote_tag creates a form that will submit over ajax (see also form_remote_for, same as form_remote_ag bt with form_for semantics) submit_to_remote creaes a button that will submit its form via an ajax request Fred> I''m confused about which one to use and when, please can anyone help > me understand them > thanks > --~--~---------~--~----~------------~-------~--~----~ > 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/rubyonrail--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
www.gotapi.com/rubyrails On Jan 13, 7:44 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 13 Jan 2008, at 05:57, nettome wrote: > > > > > Hello everybody, > > > I read about the for helpers > > > 1. submit_to_remote > > 2. form_remote_tag > > 3. link_to_remote > > 4. form_for > > form_for isn''t an ajax helper. It''s just for building regular forms > link_to_remote is your basic ajax helper. it creates a link which when > clicked makes an ajax request > form_remote_tag creates a form that will submit over ajax (see also > form_remote_for, same as form_remote_ag bt with form_for semantics) > submit_to_remote creaes a button that will submit its form via an ajax > request > > Fred > > > I''m confused about which one to use and when, please can anyone help > > me understand them > > thanks > > --~--~---------~--~----~------------~-------~--~----~ > > 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 athttp://groups.google.com/group/rubyonrail--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
thanks a lot I would look into it On Jan 13, 9:50 pm, Wildtangent <wildtang...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> www.gotapi.com/rubyrails > > On Jan 13, 7:44 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > On 13 Jan 2008, at 05:57, nettome wrote: > > > > Hello everybody, > > > > I read about the for helpers > > > > 1. submit_to_remote > > > 2. form_remote_tag > > > 3. link_to_remote > > > 4. form_for > > > form_for isn''t an ajax helper. It''s just for building regular forms > > link_to_remote is your basic ajax helper. it creates a link which when > > clicked makes an ajax request > > form_remote_tag creates a form that will submit over ajax (see also > > form_remote_for, same as form_remote_ag bt with form_for semantics) > > submit_to_remote creaes a button that will submit its form via an ajax > > request > > > Fred > > > > I''m confused about which one to use and when, please can anyone help > > > me understand them > > > thanks > > > --~--~---------~--~----~------------~-------~--~----~ > > > 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 athttp://groups.google.com/group/rubyonrail--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Also http://noobkit.com I find that it can be better documented than gotapi.com sometimes. Also includes "edge" stuff. On Jan 14, 2008 2:56 PM, nettome <gsharma84-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > thanks a lot > I would look into it > > On Jan 13, 9:50 pm, Wildtangent <wildtang...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > www.gotapi.com/rubyrails > > > > On Jan 13, 7:44 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > > > > > On 13 Jan 2008, at 05:57, nettome wrote: > > > > > > Hello everybody, > > > > > > I read about the for helpers > > > > > > 1. submit_to_remote > > > > 2. form_remote_tag > > > > 3. link_to_remote > > > > 4. form_for > > > > > form_for isn''t an ajax helper. It''s just for building regular forms > > > link_to_remote is your basic ajax helper. it creates a link which when > > > clicked makes an ajax request > > > form_remote_tag creates a form that will submit over ajax (see also > > > form_remote_for, same as form_remote_ag bt with form_for semantics) > > > submit_to_remote creaes a button that will submit its form via an ajax > > > request > > > > > Fred > > > > > > I''m confused about which one to use and when, please can anyone help > > > > me understand them > > > > thanks > > > > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---