I am using bodycontent - I want to call another fuseaction from the same
fusebox... but the bodycontent is inside the body content... perhaps this
will explain.

<cf_bodycontent>
<cfswitch expression="#attributes.fuseaction#">
        <cfcase value="msg">
                <cfinclude template="DSP/dsp_msg.cfm">
        </cfcase>

        <cfcase value="accountrequest">
                <cfinclude template="DSP/dsp_accountrequest.cfm">
        </cfcase>

        <cfcase value="sendapprequest">
                <cfset attributes.headerfile = ''>
                <cfset attributes.sidebarfile = ''>
                <cfinclude template="ACT/act_sendapprequest.cfm">
                <cflocation url="index.cfm?fuseaction=msg&msg=#msg#">
        </cfcase>

        <cfdefaultcase>
                        <cfinclude template="DSP/dsp_edihome.cfm">
        </cfdefaultcase>
</cfswitch>
</cf_bodycontent>
<cfinclude template="app_layout.cfm">

I originally go to the accountrequest fuseaction, fill in a form, that takes
me to sendapprequest... sending the form via email, also setting a generic
variable 'msg' for display.  I would like to include the msg anywhere... and
there has to be a better way to do it that a URL variable.  I think cfmodule
will work, but then I get the page within a page effect.

Am I doing something wrong?

Thanks,
Jason Egan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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