Forum: Ruby on Rails Layouts in render_component?

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.
Jeffrey Kesselman (Guest)
on 2006-04-14 01:38
(Received via mailing list)
Hi All,

Silly newb question.  Is there a reason why :layout is unimplemented
in render_component() ?  I'm looking at a  situation where that would
*seem* to be the right answer.

Are there any patches available to add this?

JK
Rob B. (Guest)
on 2006-04-20 05:21
(Received via mailing list)
Since a component is meant to be shared/used in more than one place,
the layout would be specified by the render view that contains the
render_component.

-Rob

Rob B.		http://agileconsultingllc.com
removed_email_address@domain.invalid
This topic is locked and can not be replied to.