Title: Message
Hmm, looks like I overlooked having a fbx_Switch.cfm and fbx_Settings.cfm in the 'system' directory.  Works now, pardon my half-heimer's
 
-T
 
-----Original Message-----
From: Troy Murray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:05 PM
To: [EMAIL PROTECTED]
Subject: Fusebox Craziness!

OK, I think I must be going crazy.  Here is what I have:
 
My Directory structure:
/new
  |doctor/
  |system/user/
 
My fbx_Circuits.cfm:
 <cfset fusebox.Circuits.home="new">
 <cfset fusebox.Circuits.doctor="new/doctor">
 <cfset fusebox.Circuits.user="new/system/user">
My fbx_Switch.cfm in the 'doctor' directory:
<cfswitch expression = "#fusebox.fuseaction#">
   
 <cfcase value="fusebox.defaultfuseaction">
 </cfcase>
 
 <cfcase value="hi">
  <cfinclude template="dsp/dsp_DoctorInfo.cfm">
 </cfcase>
 
 <cfdefaultcase>
  <!---This will just display an error message and is useful in catching typos of fuseaction names while developing--->
  <cfoutput>This is the cfdefaultcase tag. I received a fuseaction called "#attributes.fuseaction#" and I don't know what to do with it.</cfoutput>
 </cfdefaultcase>
 
</cfswitch>
 
When I call a test fuseaction, doctor.hi it works perfectly.  I then copied the same display file to the user directory and modified the fbx_Switch.cfm in that directory to point to the display file.  I then call 'user.hi' and I get a 404 "template not found error".  My structure isn't 'too deep' for Fusebox, is it?
 
-T
==^================================================================
This email was sent to: [EMAIL PROTECTED]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV5iMi
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================
==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to