Forum: Ruby on Rails Error while passing values in will_paginate

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Vidhya R. (Guest)
on 2009-04-29 17:50
Hai to All ,

     I am facing a problem while passing a value in will_paginate.The
values are not passed when moving from one page to other in pagination.

The coding is,

 <%= will_paginate @names
,{:territory=>params[:territory],:area=>params[:area],:name=>params[:name]},:renderer
=> 'RemoteLinkRenderer' , :remote => {:update => 'main_div',:pagination
=> 'yes',
:loading=>"document.getElementById('fade').style.display='block';$('list_paginate_spinner').show();",
                :loaded=>"document.getElementById('fade').style.display='none';$('list_paginate_spinner').hide();"}
%>

Thanks in Advance
This topic is locked and can not be replied to.