David,
Make sure you have a CFPARAM tag for Attributes.FuseAction specifying a
default FuseAction.
I'm not sure this is good practice, but I always have this as the first line
below my header comments in my index.cfm page.
Russel
============================================================
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158 http://www.TurboSquid.com
Some days you eat the bear; some days the bear eats you.
============================================================
> -----Original Message-----
> From: David Burt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 10:18
> 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.