>On Wed, Mar 5, 2008 at 8:31 PM, Rick Root <[EMAIL PROTECTED]> wrote:
>> I thought it would be fun to have a final four of CF tags.
>
>cfset esse!  It's all about the cfset.
>
>Or maybe createObject... hmmm...  now that's a battle...

CFSaveContent, createObject and cfInclude. CreateObject for obvious reasons, 
cfinclude because its extremely useful all around. I use it to handle code 
blocks of all kinds, and to take care fo the user interface elements, as in 

<cfsavecontent variable = "variables.whatever">
do lots of cool stuff here
</cfsavecontent>
<cfinclude template = "htmlPage" />

then in the html page I have something like this 

Html elements
<cfoutput>#variables.whatever#</cfoutput>
more HTML elements

it simplifies the page to a great extent.

regards,
larry 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:255712
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to