[Rails] [rjs] How can I render a action template instead of partial

Abdur-Rahman Advany rails at advany.com
Mon Dec 26 13:03:39 GMT 2005


Hi,

I want to render a action template with rjs, so instead of doing this: 
page.replace_html 'maincontent', :partial => 'list' I want to do this: 
page.replace_html 'maincontent', :action => 'list' but the render (that 
is called by replace_html, outputs to the reponds_body), so it doesn't work.

Is there a way of doing this, I could find one browsing the source? or 
should I file a bug/create a patch

thnx,

Abdur-Rahman


More information about the Rails mailing list