Forum: Ruby on Rails [rjs] How can I render a action template instead of partial

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.
Abdur-Rahman A. (Guest)
on 2005-12-26 15:06
(Received via mailing list)
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
This topic is locked and can not be replied to.