[Rails] Re: Problem: using will_paginate with Ajax

2009-01-26 Thread Patrick Doyle
On Mon, Jan 26, 2009 at 3:53 AM, Ruhul Amin < rails-mailing-l...@andreas-s.net> wrote: > > Patrick Doyle wrote: > > In my controller, I have: > > > > respond_to do |format| > > format.html # index.html.erb > > format.xml { render :xml => @documents } > > format.js do > >

[Rails] Re: Problem: using will_paginate with Ajax

2009-01-26 Thread Ruhul Amin
Patrick Doyle wrote: > In my controller, I have: > > respond_to do |format| > format.html # index.html.erb > format.xml { render :xml => @documents } > format.js do > render :update do |page| > page.replace_html('documents_table', >

[Rails] Re: Problem: using will_paginate with Ajax

2009-01-18 Thread Patrick Doyle
On Sat, Jan 17, 2009 at 3:05 AM, Ruhul Amin < rails-mailing-l...@andreas-s.net> wrote: > > I want to use pagination with ajax. I have used will_paginate then add > code to support ajax pagination. > I have tried with partial with when I use the code > in index.html.erb > > <%= render :partial =>