|
Hi B,
You can use CFMODULE calls within
fbx_switch. You do this when you want to reuse a function that is more
involved than a simple atomic fuse.
A common example is adding a serach for to a search
results page. You have already built the "displaysearchform" fuseaction
and another call "displaysearchresults". Now you decide that you'd like to
include a form to do another search on the results page. No sweat - use
CFMODULE within the displaysearchresults fuseaction to invoke the
displaysearchform:
<cfcase
value="displaysearchresults">
<cfmodule
template="#fusebox.rootpath##self#" fuseaction="search.displaysearchform"
stoplayout="true">
<cfinclude
template="qry_searchresults.cfm">
<cfinclude
template="dsp_searchresults.cfm">
</cfcase>
So this fuseaction invokes one high-level fuseaction, plus
two low-level fuses to perform its required job.
That means that you now have the search form code in one
and only one place. You can enhance it, optimise it, blah blah blah
it, and all the changes get carried into the sewarch results fuseaction as
well.
Now, the meaning of fuseaction="adminrules.ValidateEmail"
...
In FB3, each fuseaction lives within a particular
circuit. In order to call a particular fuseaction, you have to give the
name of the circuit and the name of the fuseaction within that
circuit.
So fuseaction="adminrules.ValidateEmail" means "give me the fuseaction called ValidateEmail within the circuit
called adminrules".
Hope that helps,
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
