Hi,
I am trying to set up a very simple example app that follows the MVC
pattern, but I am running into a problem, something probably really
basic. I have a circuits file that looks like this:
<cfset fusebox.Circuits.MVC="MVC">
<cfset fusebox.Circuits.Admin="MVC/Admin">
<cfset fusebox.Circuits.mAdmin="MVC/Admin/Model">
<cfset fusebox.Circuits.cAdmin="MVC/Admin/Controller">
<cfset fusebox.Circuits.vAdmin="MVC/Admin/View">
And my first page dsp_AdminHome.cfm has a link:
Click <a href="index.cfm?cAdmin.AddUser">here</a> to add a new user
The controller circuit has an AddUser fuseaction,
<cfcase value="main,AddUser">
<cfset attributes.XFA.cAdminAddUser = "mAdmin.AddUser">
<cfinclude template="./View/dsp_AdminAddUserForm.cfm">
</cfcase>
but I am not seeing the add user form, it just keeps returning the same
home admin page with the link above. I have placed the following files
in all three circuits (model, controller and view):
index.cfm
fbx_switch.cfm
fbx_settings.cfm
fbx_fusebox30_CF50.cfm (I am using CF5.0)
What am I missing here??
==^================================================================
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
==^================================================================