How to combine rjs with ActiveView::Helper?

Suppose in controller:
class ArticlesController < ApplicationController
def search

render :update do|page|
page.replace_html ‘panel_tab_searchresults’,:partial => ‘article’,
:object =>@articles
end
end
And i want to add ajax styled Paginator to the view,i have got the
method and i can work well directly used in view:

<%= pagination_links_remote @pages, {:params => { :action =>
@controller.action_name}},
{:url => { :action => @controller.action_name },
:update => ‘content’} %>

How can i combine the Paginator method with the rjs?Or let it be easier:
If I want to render the link_to_remote together with the above rjs
code,what should i do?

Thanks
Charlie

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs