|
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.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 ==^================================================================ |
Title: Message
- where to put admin functionality Emilio Gagliardi
- RE: where to put admin functionality Patrick McElhaney
- RE: where to put admin functionality Emilio Gagliardi
- RE: where to put admin functionality Lee Foster
- RE: Fusebox Craziness! Troy Murray
- RE: Fusebox Craziness! Troy Murray
- RE: Fusebox Craziness! Ben Koshy
- Re: where to put admin functionality Darron J. Schall
- Re: where to put admin functionality Steve Bryant
