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.
42478c6dbd30d30c58ee47bd601f1880?d=identicon&s=25 Jeffrey Kesselman (Guest)
on 2006-04-13 23: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
Ef3aa7f7e577ea8cd620462724ddf73b?d=identicon&s=25 Rob Biedenharn (Guest)
on 2006-04-20 03: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 Biedenharn		http://agileconsultingllc.com
Rob@AgileConsultingLLC.com
This topic is locked and can not be replied to.