> And to ask an old question yet again (because I am also lazy
> and can't find it in the archive), the only reason we use #self#
> is for unit testing, right? I'm trying to think of other reasons,
> but I can't figure any out.
I think Hal has also commented that #self# allows you to redefine the actual
fusebox on-the-fly, if such a need ever occurs. Or even to redefine it on a
template-by-template basis to one of his recent ideas of including a
XFA.onCompletion, perhaps something like
self = index.cfm?fuseaction=#xfa.onCompletion#.
We're probably all still exploring other variants on the same theme.
I think it had additional usefulness before Hal suggested the Circuits.cfm
method , since then you could potentially define #self# to be a higher level
fusebox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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