In an index.cfm file, if a fuseaction that CAN be handled by that circuit is
NOT handled by that circuit (in otherwords there is no cfcase statement to
handle it, the default simply tells you that it received something it does
not know how to handle.  This forces you to make sure every fuseaction that
is passed to a circuit is handled implicitly.  Only during development
should you get this error (or a tester who has some crazy ideas about how to
type in a URL).

Mike Craig

-----Original Message-----
From: paul smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 7:54 PM
To: Fusebox
Subject: RE: Nesting circuits: I just don't get it! :(


Hal has the following in his simple Contact Manager app:

<!--- I'm going to get one (and only one) fuseaction at a time. Fuseactions
correspond to methods or messages in OO languages. --->
         <cfswitch expression = "#attributes.fuseaction#">

                 <cfdefaultcase>
                         <cfoutput>
                         I received a fuseaction called <B><FONT
COLOR="000066">
"#attributes.fuseaction#"</FONT></B> that I don't have
a handler for.
                         </cfoutput>
                 </cfdefaultcase>

    </cfswitch>

What do this do?

best,  paul

At 05:58 PM 3/28/01 -0500, you wrote:
>Hal9000...heh...that's cute...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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