I definitely need to use RJS templates for my current application. I''ve used Google for the past twenty minutes or so, yet I can''t find a good resource that will get me started and show me what the page object can do. Any links? When an Ajax link is clicked, I''m trying to change the background of a "primary" list item, as well as the background and text of the list item in which the link was clicked. RJS seems the simplest way to do this, am I right? - David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060801/c1ea4015/attachment-0001.html
> I definitely need to use RJS templates for my current application. I''ve > used Google for the past twenty minutes or so, yet I can''t find a good > resource that will get me started and show me what the page object can do. > Any links? > > When an Ajax link is clicked, I''m trying to change the background of a > "primary" list item, as well as the background and text of the list item in > which the link was clicked. RJS seems the simplest way to do this, am I > right?http://www.google.com/search?q=rails+rjs first link?
While that page helps, it gives me no information about all of the different methods available to the page object, and, as I''ve recently learned about in the past few minutes, what can be done with ''select'' in RJS. On 8/1/06, Philip Hallstrom <rails@philip.pjkh.com> wrote:> > > I definitely need to use RJS templates for my current application. I''ve > > used Google for the past twenty minutes or so, yet I can''t find a good > > resource that will get me started and show me what the page object can > do. > > Any links? > > > > When an Ajax link is clicked, I''m trying to change the background of a > > "primary" list item, as well as the background and text of the list item > in > > which the link was clicked. RJS seems the simplest way to do this, am I > > right? > > http://www.google.com/search?q=rails+rjs > > first link? > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060801/e1e89a79/attachment.html
I''d highly recommend this O''Reilly $9.99 pdf http://www.oreilly.com/catalog/rjsrails/?CMP=ILC-2RQ886833906&ATT=rjsrai ls -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Philip Hallstrom Sent: Tuesday, August 01, 2006 2:55 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Getting Started on RJS Templates> I definitely need to use RJS templates for my current application.I''ve> used Google for the past twenty minutes or so, yet I can''t find a good > resource that will get me started and show me what the page object cando.> Any links? > > When an Ajax link is clicked, I''m trying to change the background of a > "primary" list item, as well as the background and text of the listitem in> which the link was clicked. RJS seems the simplest way to do this, amI> right?http://www.google.com/search?q=rails+rjs first link? _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
David R. wrote:> While that page helps, it gives me no information about all of the > different > methods available to the page object, and, as I''ve recently learned > about in > the past few minutes, what can be done with ''select'' in RJS.http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html regards, rolando.- -- Posted via http://www.ruby-forum.com/.
On Tuesday 01 August 2006 19:56, David R. wrote:> I definitely need to use RJS templates for my current application.? > I''ve used Google for the past twenty minutes or so, yet I can''t find > a good resource that will get me started and show me what the page > object can do.? Any links?If you don''t mind spending the money equivalent of a short time of searching for yourself, I recommend Code Fauser RJS Templates for Rails http://www.oreilly.com/catalog/rjsrails/index.html PDF download, $9,99 Michael -- Michael Schuerig mailto:michael@schuerig.de http://www.schuerig.de/michael/
Michael Schuerig wrote:> On Tuesday 01 August 2006 19:56, David R. wrote: >> I definitely need to use RJS templates for my current application.? >> I''ve used Google for the past twenty minutes or so, yet I can''t find >> a good resource that will get me started and show me what the page >> object can do.? Any links? > > If you don''t mind spending the money equivalent of a short time of > searching for yourself, I recommend > > Code Fauser > RJS Templates for Rails > http://www.oreilly.com/catalog/rjsrails/index.html > PDF download, $9,99 > > Michael > > -- > Michael Schuerig > mailto:michael@schuerig.de > http://www.schuerig.de/michael/I can second Michael S''s suggestion. It is worth the $9.99 as I purchased it a week or so ago. You may also find this helpful: http://www.rubyinside.com/16-rjs-resources-and-tutorials-for-rails-programmers-5.html Note - I found the link above before I purchased the book but still ended up purchasing the book and it was helpful. Regards, Michael -- Posted via http://www.ruby-forum.com/.