Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Fusebox
Cold Fusion Fuse Box List
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About CF Fusebox Methods :
product's home
product's list home
 
  Archived TallyList / Fusebox: 
Subject: Calling Fuses without Layout
Ben Koshy (8p/+0r)     Posted: Saturday 12 May 2001
This post: 140 views, +0 rating

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/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Similar Subject Line Posts (+/- two weeks of this post)
RE: A few more Questions (was RE: Calling Fuses without Layout)  13 May 2001   (131 v/ +0 r)
A few more Questions (was RE: Calling Fuses without Layout)  13 May 2001   (123 v/ +0 r)
Re: Calling Fuses without Layout  13 May 2001   (117 v/ +0 r)
Calling Fuses without Layout  12 May 2001 (this post)   (140 v/ +0 r)
 

Send a reply to the Fusebox list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000