Sure, it can be shortened.  However, Sean was giving you an example of
Fusebox style programming.

-------------------------
Mark Warrick
(714) 939-6431
The Sistonia Corporation
[EMAIL PROTECTED]
http://www.sistonia.com

> -----Original Message-----
> From: Eric Dawson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 26, 2000 5:47 AM
> To: [EMAIL PROTECTED]
> Subject: (DA): Site Dedsign Question (Try 2)
>
>
> Couldn't this be shortened to:
> <---app_globals.cfm--->
> <cfparam name="content_data" default="">
> <cfparam name="attributes.someattribute" default="">
>
> <---index.cfm--->
> <cfinclude template="app_globals.cfm">
>
> <cf_act_designTKE content=attributes.someattribute>
>    <cfinclude template="dsp_content_table.cfm">
> </cf_act_designTKE>
> ==================
>
> Note: you would need to use the cfswitch if you were calling different
> customtags based on the attributes.somesttribute value.
>
> ??
> E
>
> From: "Sean Renet" <[EMAIL PROTECTED]>
> Date: Thu, 25 May 2000 23:40:03 -0700
>
> Make 4 templates and cut and paste the appropriate code in
> each
> <---app_globals.cfm--->
> <cfparam name="content_data" default="">
> <cfparam name="attributes.someattribute" default="">
>
> <---index.cfm--->
> <cfinclude template="app_globals.cfm">
> <cfswitch expression="#attributes.someattribute#">
>   <cfcase value="girls">
>    <cf_act_designTKE content="girls">
>     <cfinclude template="dsp_content_table.cfm">
>    </cf_act_designTKE>
>   </cfcase>
>   <cfcase value="beer">
>    <cf_act_designTKE content="beer">
>    <cfinclude template="dsp_content_table.cfm">
>    </cf_act_designTKE>
>   </cfcase>
>   <cfdefaultcase>
>    <cf_act_designTKE content="home">
>    <cfinclude template="dsp_content_table.cfm">
>    </cf_act_designTKE>
>   </cfdefaultcase>
> </cfswitch>
>
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
>

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

Reply via email to