Does your app_globals.cfm contain a CFPARAM that defines a default value for
attributes.fuseaction?  If not, you should put one in default.cfm.

-----Original Message-----
From: David Burt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 8:18 AM
To: Fusebox
Subject: Problem with formurl2attributes.cfm


I keep getting an error when displaying my page with the cfswitch in it.
the error occured while evaluating the expression : #attributes.fuseaction#.
Any ideas?

default.cfm:
<cfinclude template="../app_globals.cfm">
<!--- <cfinclude template="app_locals.cfm"> --->
<CFSWITCH expression="#attributes.fuseaction#">
        <CFCASE value="addLaptop">
                <CFINCLUDE template="../header.cfm">
                <CFINCLUDE template="dsp_addLaptop.cfm">
                <CFINCLUDE template="js_addLaptop.cfm">
                <CFINCLUDE template="../footer.cfm">
        </CFCASE>
        <CFDEFAULTCASE>
                <CFINCLUDE template="../header.cfm">
                <CFINCLUDE template="dsp_homepage.cfm">
                <CFINCLUDE template="../footer.cfm">
        </CFDEFAULTCASE>
</CFSWITCH>

../app_globals.cfm:
<cfparam name="DSN" default="Equipment">
<cfinclude template="formurl2attributes.cfm">


formurl2attribues.cfm:
<!--- This tag will turn all 'Form' and 'URL' scoped variables into
'Attributes' scoped variables.  This allows you to have a common scope
of variables, thus allowing you to call the entire application i.e.
index.cfm
as a CFMODULE or as a regular application.
Designed for: CF 4.01+
--->
etc....
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.

Reply via email to