If I wrote some code that, for example, vaidates an email address and 
wanted to reuse it, how do I include it in a fuseaction? I'm confused 
the fbx_circuits file provides the aliases to the folders.  Do I need to 
use absolute URLs to refernece other fuses?  i.e., if my file 
actValidateEmail.cfm was in the Rules (see below) folder, do I use:

<cfinclude template="/myApp/Administration/Rules/actValidateEmail.cfm"> 

or does the cicuit mapping also provide aliases for template location??


Thanks in advance!

<!--- Example from the newbie guide from the fusebox site --->
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

==^================================================================
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