Your fbx_circuits maps the application so you can call a circuit in a
particular directory using the alias you specify.
So, in you case the circuit name you want to talk to is myFuseaction within
the circuit Rules.
Yes, you are correct, your fuseaction to call that circuit would be
index.cfm?fuseaction=rules.myFuseaction
Eeek...the correct format for the fbx_switch in the rules circuit would be:
<cfcase value="MyFuseaction">
<!--- includes here --->
</cfcase>
There is not need so specify the circuit name in the cfcase statement.....
Does that straighten things up?
John.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 19 April 2002 16:35
> To: [EMAIL PROTECTED]
> Subject: still a bit confused
>
>
> Hi All,
>
> I am still somewhat confused... This example is from
> bombusbee.com and
> is in reference to the fbx_circuits file:
>
>
> ============================================================
> Example
> The following is a sample of the code in a fbx_Circuits file:
> *<cfset fusebox.Circuits.Home="myApp"> *<cfset
> fusebox.Circuits.Admin="myApp/Administration">
> *<cfset fusebox.Circuits.Rules="myApp/Administration/Rules">
> *<cfset fusebox.Circuits.Front="myApp/FrontEnd">
>
> This allows all references to specific folders to be made
> using aliases.
> To call the Fuseaction named
> 'myFuseaction' in the folder myApp/Administration/Rules, you
> would call
> the index.cfm file as
> follows:
>
> index.cfm?fuseaction=Rules.myFuseaction
> ============================================================
>
>
> Now in my fbx_switch file, i would handle this request...how? LIke
> this:
>
>
> <cfcase value="RUles.MyFuseaction">
> <!--- includes here --->
> </cfcase>
>
>
> THis is why I am confused:
>
> This isn't clear to me: "To call the Fuseaction named
> 'myFuseaction' in
> the folder myApp/Administration/Rules..."
>
> I thought fusactions 'lived' in the fbx_switch file. That is to say,
> fuseactions are comprised of various cfm files which handle some
> specific task, which is a subset of a larger grouping such as a login
> app, or registration app(which would be a circuit).
>
> Within the fusactions are the atomic elements(files) which
> when grouped,
> perform a certain task related to the larger app(or circuit).
> So how is
> it that a fuseaction is in a folder somewhere?? I can see
> that all the
> atomic level files related to the "login" app would be in one
> circuit,
> perhaps name, "Login". But, I dont see how the fuseaction is in the
> folder as the bombusbee sample describes.
>
> ALso, in a complex application, where is the logic in using
> the aliases
> to name circuits? If I see 'Rules.MyFuseaction' in the
> fbx_switch file,
> that doesn't seem to help me know that that request has to do
> with some
> aspect of administration??
>
>
> I know I am way off here and I just need someone to turn the light on
> for me. Tell me what I am missing :)
>
> Thanks!
>
> bidllc
>
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by UUNET
> delivered
> through the MessageLabs Virus Control Centre. For further
> information visit http://www.uk.uu.net/products/security/virus/
>
_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
==^================================================================
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
==^================================================================