Hey folks,
I am trying to use the cf_bodycontent custom tag for the first time, and I
am am getting the following error message when using it.
"The required parameter request.bodycontent was not provided.
This page uses the CFPARAM tag to declare the parameter
'request.bodycontent' as required for this template. The parameter is not
available.
Please verify that you have passed or initialized the parameter correctly.
If you wish to set a default value for the parameter you should use the
DEFAULT attribute of the CFPARAM tag."
It looks like I have the old version of bodycontent.cfm, which doesn't have
the cfinclude statements in it, so I am using app_layout. When i comment
out the "cfinclude template=app_layout" statement in my index file, I no
longer get the error message.
here's my simple index file:
<cfinclude template="app_locals.cfm">
<cf_bodycontent>
<cfparam name="attributes.fuseaction" default="">
<cfswitch expression="#attributes.fuseaction#">
<cfdefaultcase>
This is the default case<br>
</cfdefaultcase>
</cfswitch>
</cf_bodycontent>
<cfinclude template="app_layout.cfm">
Any help would be appreciated. Thanks.
Chris
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.