Sorry to jump in, but what does the list allow you to do that a simple
fuseaction wouldn't? If you're looking at the last portion of the string
what do all the prefixes do for your circuits?
If you have the posts leading up to this thread I would really appreciate
looking at them to see what is going on here.
And I agree that standardizing sub-fuse architecture would definately be a
good idea...as I have yet to figure out a clean and flexible solution.
Cheers,
Emilio
> 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.