Well, not really, if according to Hal's example I want to pass my controller circuit a form action which writes to the database (Model), but my error seems to be occuring the second time the fbx_fusebox30 file is run, before this code and it has to do with including the fbx_settings file. I would place an cfabort somewhere to see what the currentpath var is, but where? since the file is run the very first time you land on the home page.
Kathryn wrote: > I'm just throwing this out but should this: > > <cfset attributes.XFA.cAdminAddUser = "mAdmin.AddUser"> > > be: > > <cfset attributes.XFA.AddUser = "mAdmin.AddUser"> > > since you refer to a link of > > <a > href="#request.self#?fuseaction=#attributes.XFA.addUser#">here</a> > > in your post? I am probably totally off-base, so ignore if so. > > Kathryn Butterly > Web Developer > Washington Mutual Finance > 813 632-4490 > [EMAIL PROTECTED] > > > -----Original Message----- > From: Andres M. [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 29, 2002 2:32 PM > To: [EMAIL PROTECTED] > Subject: Plz help! FB3 and MVC > > > I think that I am posting this to the right list, but I haven't seen it > before in the archives. > > I am getting an error with a very simple FB3 app that uses the MVC > design mentioned in Hal Helms article on techspedition. My call to the > controller circuit is failing in the root fbx_fusebox30_CF50.cfm where > an include is called: > > <cfinclude template="#fusebox.currentPath#fbx_Settings.cfm"> > > My circuits file 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"> > > My first page has a link > > <a href="#request.self#?fuseaction=#attributes.XFA.addUser#">here</a> > > And my controller circuit has this fuseaction > > <cfcase value="main,AddUser"> > <cfset attributes.XFA.cAdminAddUser = "mAdmin.AddUser"> > <cfinclude template="./View/dsp_AdminAddUserForm.cfm"> > </cfcase> > > But I never get to the controller circuit, because the second time the > fbx_fusebox30_CF50.cfm file is called I get a 404 error about an include > > not being found (line 210 and rethrown on 214). > > Can anyone tell me what is going on 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 ==^================================================================
