Hey all, I''ve done some searching online and looking through the Agile book but can''t seem to find how one can put multiple effects in a single rails callback... As an example: form_remote_tag(:update => something_element, :url => { :action => some_action } :loading => do something :complete => "new Effect..." AND "new Effect" ) How would I accomplish adding two effects for the :complete callback? (sorry if this is a n00b question) Thanks, Russ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Russell Dsa wrote:> Hey all, > I''ve done some searching online and looking through the Agile book but > can''t seem to find how one can put multiple effects in a single rails > callback... > > As an example: > > form_remote_tag(:update => something_element, > :url => { :action => some_action } > :loading => do something > :complete => "new Effect..." AND "new Effect" > ) > > How would I accomplish adding two effects for the :complete callback? > (sorry if this is a n00b question) > > Thanks, > Russ > >Checkout RJS. I have a list of sources that should be helpful at the bottom of http://blog.mattmargolis.net/articles/2006/06/14/rjs-headache-or-savior Matthew Margolis blog.mattmargolis.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Matthew Margolis wrote:> Russell Dsa wrote: >> :complete => "new Effect..." AND "new Effect" >> ) >> >> How would I accomplish adding two effects for the :complete callback? >> (sorry if this is a n00b question) >> >> Thanks, >> Russ >> >> > Checkout RJS. I have a list of sources that should be helpful at the > bottom of > http://blog.mattmargolis.net/articles/2006/06/14/rjs-headache-or-savior > > Matthew Margolis > blog.mattmargolis.netThanks for the reply Matthew. I am indeed familiar with RJS...I was just hoping there was a more "convenient" way of doing it directly in the input field. Russ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Oct 3, 2006, at 11:23 PM, Russell Dsa wrote:> > Matthew Margolis wrote: >> Russell Dsa wrote: >>> :complete => "new Effect..." AND "new Effect" >>> ) >>> >>> How would I accomplish adding two effects for the :complete >>> callback? >>> (sorry if this is a n00b question) >>> >>> Thanks, >>> Russ >>> >>> >> Checkout RJS. I have a list of sources that should be helpful at the >> bottom of >> http://blog.mattmargolis.net/articles/2006/06/14/rjs-headache-or- >> savior >> >> Matthew Margolis >> blog.mattmargolis.net > > Thanks for the reply Matthew. I am indeed familiar with RJS...I was > just > hoping there was a more "convenient" way of doing it directly in the > input field. > > Russ >You can always just put multiple statements in there:>>> :complete => "new Effect...; new Effect..."-Ezra --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ezra Zygmuntowicz wrote:> On Oct 3, 2006, at 11:23 PM, Russell Dsa wrote: > >>>> Thanks, >> >> Thanks for the reply Matthew. I am indeed familiar with RJS...I was >> just >> hoping there was a more "convenient" way of doing it directly in the >> input field. >> >> Russ >> > > You can always just put multiple statements in there: > >>>> :complete => "new Effect...; new Effect..." > > -EzraSweet, Thanks Ezra! Russ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---