|
Loading...
|
cfwheels@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [cfwheels] True nested layouts Tom King Tue Feb 21 08:00:51 2012
Well I think so yes. All those examples require setting the element to be
filled in the parent layout, whereas I'm trying to get the sub layout
automatically nested.. does that make sense?
So in /views/layout.cfm I want this:
<html>
<body>
<div style="background:red; padding:10px;">
<cfoutput>#includeContent("")#</cfoutput>
</div>
</body>
</html>
and in /views/main/layout.cfm I want:
<div style="background:blue; padding:10px"
id="foo"><cfoutput>#includeContent("")#</cfoutput></div>
And the resultant HTML rendered to be :
<html>
<body>
<div style="background:red; padding:10px;">
<div style="background:blue; padding:10px" id="foo">Contents
of my index file for example, or other view</div>
</div>
</body>
</html>
Or am I just being backward with this?
--
You received this message because you are subscribed to the Google Groups
"ColdFusion on Wheels" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/cfwheels/-/Cg6mDq9ua00J.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfwheels?hl=en.
- [cfwheels] True nested layouts Tom King 2012/02/21
- Re: [cfwheels] True nested layouts Per Djurner 2012/02/21
- Re: [cfwheels] True nested layouts Tom King 2012/02/21 <=
- Re: [cfwheels] True nested layouts jjallen 2012/02/21
- Re: [cfwheels] True nested layouts Tom King 2012/02/21
- Re: [cfwheels] True nested layouts Tom King 2012/02/21
- Re: [cfwheels] True nested layouts Tom King 2012/02/21
- [cfwheels] Re: True nested layouts Greg Stallings 2012/02/21
- Re: [cfwheels] Re: True nested layouts Per Djurner 2012/02/21
- Re: [cfwheels] True nested layouts jjallen 2012/02/22
- Re: [cfwheels] True nested layouts Tom King 2012/02/22
- [cfwheels] Re: True nested layouts George 2012/02/22
- [cfwheels] Re: True nested layouts George 2012/02/22