See my earlier reply...the technique described in the reply handles this
nicely.



Adam Reynolds
ColdFusion Consultant
H.J. Heinz 
Tel.: +44 (0) 20 8756 5170
Mob.: +44 (0) 7973 386620

> ----------
> From:         Brad Roberts[SMTP:[EMAIL PROTECTED]]
> Sent:         10 August 2000 05:02
> To:   [EMAIL PROTECTED]
> Subject:      RE: sub-fuse
> 
> One more question.  What if I had a sub-fusebox in a sub-fusebox?
> 
> For instance:
> 
> MYROOT/
>  |___index.cfm
>  |
>  |______MEMBERS/
>         |___index.cfm
>         |
>         |______SIGNUP/
>                |___index.cfm
> 
> 
> How could you apply the method to sub-fuseboxes deeper than one level?
> 
> Thanks,
> 
> Brad
> 
> -----Original Message-----
> From: Hal Helms [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 09, 2000 5:39 PM
> To: [EMAIL PROTECTED]
> Subject: RE: sub-fuse
> 
> 
> Here's what I do:
> 
> Each fusebox uses a fuseaction with the format xxx.someFuseaction, where
> xxx
> is a unique identifier. For example, if you were working with a shopping
> cart, you might have fuseactions like crt.emptyCart.
> 
> Each nested fusebox uses this to get the appropriate fuseaction.
> 
> <cfswitch expression = "#ListLast(attributes.fuseaction,'.')#">
> 
> Then the cfcase values are the fuseaction less the prefix. Example:
> emptyCart.
> 
> The outer fusebox uses <cfswitch expression =
> "#ListFirst(attributes.fuseaction,'.')#">
> 
> And checks for case values like this:
> 
> <cfcase value = "crt">
>   <cfinclude template = "ShoppingCart/index.cfm">
> 
> I find it works very nicely.
> 
> Hal
> -----Original Message-----
> From: Brad Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 09, 2000 8:14 AM
> To: Fusebox List
> Subject: sub-fuse
> 
> 
> Anyone have more ideas on sub-fuseboxes?  I'm in the middle of trying to
> figure out the best way.  It looks like using mappings is it, but I don't
> think my host is going to set up a mapping (or two) for every site I
> create.
> Any suggestions?  Someone mentioned Hal's way, where can I find that?
> 
> Thanks,
> 
> Brad
> 
> --------------------------------------------------------------------------
> --
> --
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> --------------------------------------------------------------------------
> --
> --
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> --------------------------------------------------------------------------
> ----
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
**********************************************************************
 This email and any attachments are confidential and solely
 for the use of the intended recipient.  They may contain
 material protected by legal professional or other privilege.
 If you are not the intended recipient or the person responsible
 for delivering to the intended recipient, you are not authorised
 to and must not disclose, copy, distribute or retain this email
 or its attachments.  Although this email and its attachments
 are believed to be free of any virus or other defect, it is the
 responsibility of the recipient to ensure that they are virus free
 and no responsibility is accepted by the company for any
 loss or damage arising from receipt or use thereof.

**********************************************************************
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to