Hi
Till now we have used the rails pagination and made it ajax
successfully like following in view for both Previous and Next links
(the other pages in between not possible)
<%= link_to_remote(''Previous'', {:url => {:action =>
:show_ci_attachment_page, :ci => @ci.id, :content =>
''show'', :page =>
@hardware_ci_attachments_pages.current.previous}}) if
@hardware_ci_attachments_pages.current.previous %>
Now we r using will_paginate .So how can we achieve the same as above
with will_paginate?
Please help
Sijo
--
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?hl=en
-~----------~----~----~----~------~----~------~--~---