Is there a way in XFB to know which circuit you are on?  I have several
nested circuits, which are all framed.  I have a file called,
act_frame_me.cfm, which runs on almost every fuseaction.

index.cfm:

<cfswitch...>

        <cfcase value="myFuseaction">
                <cfinclude template="act_frame_me.cfm">
                <cfinclude template="qry_file.cfm">
                <cfinclude template="dsp_file.cfm">
        </cfcase>
        ...
</cfswitch>
-----------------------
act_frame_me.cfm:

<script language="JavaScript">

<cfoutput>
if (top.location == location ) 
        top.location =
'index.cfm?fuseaction=wh.main&centerFrameSource=wh.#attributes.fuseaction#';
</cfoutput>
</script> 

In each of the act_frame_me.cfm files, I have to change the circuit name,
since it is stripped out of the fuseaction.  Is there a way that I can put
in something like centerFrameSource=#currentCircuit#.#attributes.fuseaction#
?

TIA,

Ralph

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to