I got it into my head that pagination can use ajax calls so I can
update the relevant portion of the page without reloading the entire
thing
''.pagination a:click'': function() {
new Ajax.Request(this.href, { asynchronous:true, evalScripts:true,
method:''get''});
return false;
}
a little change in my controller and voila. except I then realized
I''d just opened up a whole can of worms with ajax, url, browser
history. doing some research, I found the solutions are rather
complicated, browser dependent, and not completely satisfactory.
e.g.,
http://ajaxpatterns.org/Unique_URLs#Solution
does rails/rjs help us out here with some clever abstraction/library
methods for handling this? 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
-~----------~----~----~----~------~----~------~--~---