I have a FuseBox application that has a triple column layout.

First Column contains the menu
Second Column contains the main content
and the Third Column is for miscellaneous content that changes based on what
circuit you are in

Now I'm finding when I want to include some fuses from a circuit app that I
have to directly include the circuit files as they would appear in the
CFSWITCH statement.  I'd much rather prefer to call the fuseaction itself so
if I ever update the fuseaction, I won't have to go and update the
hardcoded.  But if I do that I get a replicated layout within my layout
because the header and footer get called again.  IE.

/mainfusebox
        /links
                Fuseaction: DisplayAllLinks
                        includes qry_links.cfm
                        includes dsp_links.cfm
                Fuseaction: TopTenLinks
                        includes qry_toptenlinks.cfm
                        includes dsp_links.cfm
                Fuseaction: AddLink
                        includes act_addlink.cfm
                        includes dsp_submitform.cfm
        /someothercircuit


So in my mainfusebox in the 3rd column I call the top-ten links action by
repeating the same includes for the fuseaction toptenlinks.  This is how
FuseBox.Org does it in their example website.  However if I were to change
TopTenLinks to something like this:

                        includes qry_toptenlinks.cfm
                        includes act_toptenlinks.cfm
                        includes dsp_links.cfm

Then I'd have to go back to my hardcoded areas and change the included
files.  Is there someway I can call the fuseaction of this circuit without
spawning the layout?  I guess that's my question... :) Whew...

-- Ben.


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