|
Hey, let me try to explain this again using my pat-pending
CookBook metaphor.
Circuits = CookBooks
Fuseactions = Recipes
Fuses = Ingredients
So we can have a Recipe called "bread.pizzabase". It
lives in the "bread" CookBook, and describes how to make a pizza base from
simple ingredients. It says to add flour, salt, yeast, water, etc, mix
them up and bake.
But we might also have a recipe called
"italian.hamandpinapplepizza". This recipe lives in the "italian"
CookBook, and tells us how to make a disgusting ham and pineapple pizza.
It says "make a pizza base as usual (see the Bread CookBook), the throw ham an
pineapple on it, and bake."
Notice that the recipe for ham and pineapple pizza
uses simple ingredients, but also uses a more complex item called
a pizza base. But the ham and pineapple pizza recipe doesn't go to the
trouble of telling you how to make the pizza base - it just says to look in your
bread CookBook.
Let's try this using code...
In our Bread CookBook/Circuit, we have a recipe/fuseaction
called "pizzabase":
<cfcase
value="pizzabase">
<cfinclude
template="act_addflour.cfm">
<cfinclude
template="act_addsalt.cfm">
<cfinclude
template="act_addyeast.cfm">
<cfinclude
template="act_addwater.cfm">
<cfinclude
template="act_mix.cfm">
<cfinclude
template="act_bake.cfm">
</cfcase>
In out Italian CookBook/Circuit, we have a recipe/fuseaction called
"hamandpineapplepizza":
<cfcase
value="hamandpineapplepizza">
<cfmodule
template="#fusebox.rootpath##self#" fuseaction="bread.pizzabase">
<cfinclude
template="act_addham.cfm">
<cfinclude
template="act_addpineapple.cfm">
<cfinclude
template="act_bake.cfm">
</cfcase>
I hope that helps a little more.
Let me know,
LeeBB ----- Original Message -----
==^================================================================ 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 ==^================================================================ |
- fuse location and fbx_switch question bidllc
- Re: fuse location and fbx_switch question Lee Borkman
- RE: fuse location and fbx_switch question bidllc
- Re: fuse location and fbx_switch question Lee Borkman
- RE: fuse location and fbx_switch questi... Lee Borkman
- RE: fuse location and fbx_switch question John Beynon
- RE: fuse location and fbx_switch question Mary-Catherine Gerrey
- RE: fuse location and fbx_switch question bidllc
- Re: fuse location and fbx_switch question Lee Borkman
- RE: fuse location and fbx_switch question chzumbrunnen
