Hi Guys
Can I confirm it's okay to nest cf_bodycontent, just tried it and it seems
to work.
i.e.
<cf_bodycontent>
...
....
<cf_bodycontent name="navbar">
....
...
</cf_bodycontent>
...
</cf_bodycontent>
<cfinclude template="app_layout.cfm">
Then in the app_layout.cfm
<cfparam name="request.page.header">
<cfparam name="request.page.footer">
<cfparam name="request.bodycontent">
<cfparam name="attributes.showbody" default="yes">
<cfif len(request.page.header)>
<cfinclude template="#request.page.header#">
</cfif>
<cfif attributes.showbody>
<cfoutput>
<table width="#request.page.width#" cellpadding="0" cellspacing="5"
align="center">
<tr>
<td width="140">#request.navbar#</td>
<td>#request.bodycontent#</td>
</tr>
</table>
</cfoutput>
</cfif>
<cfif len(request.page.footer)>
<cfinclude template="#request.page.footer#">
</cfif>
Cheers
Gary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists