Well the same thing can be done as:
cf__template
cfinclude template="content.cfm"
/cf__template
=== _template.cfm ===
CFIF ThisTag.ExecutionMode is 'start'
table align="center"trtd
cfelse
/td/TR/TABLE
/cfif
=
cfinclude template=3D"top_table.cfm"
cfinclude
IF's are always going to be slower than switch's (or so I have been told).
And the docs use a switch so I figure I should as well :-P
- Original Message -
From: "Eric Dawson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 26, 2000 5:34 AM
Subject: Re: Site Desig
I did notice the cfswitch and thought it was a good idea. and, unbeknownst
to me ... a performace gain too! :)
From: "Sean Renet" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Site Design Question
Date: Fri, 26 May 2000 12:04:17 -0700
IF's are al
This is a multi-part message in MIME format.
--=_NextPart_000_000A_01BFC6AE.0C1560C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All,
Hello, I am new to the list and to CF. I have a quick question about CF =
programming techniques. I
4 matches
Mail list logo