There are many reasons why you might want to add components to containers dynamically. The most common reasons are for performance or flexibility. Either way, having a good understanding of how it works is essential.
First a little background information about what these methods are from
The addChild and addChildAt methods come from the DisplayObjectContainer class. The [...]
Entries from April 2007
Dynamically Add Components to a Container
April 28th, 2007 · No Comments
Tags: Uncategorized
CFForm “Object Expected” Error
April 28th, 2007 · No Comments
Helping a friend the other day, I discovered some quirkiness in using CFForm in a hosted environment. Now, if you have not gotten used to using CFForm in a hosted environment already… here a little bit of advice.
Copy the entire CFIDE/scripts directory into your site. Second, add the scriptSrc attribute to the CFForm tag that [...]
Tags: Uncategorized
CFSWITCH Performance Issue in CFMX 7
April 28th, 2007 · No Comments
You will find this on a couple blogs, but since I”ve given presentations on ColdFusion performance since the Allaire days, I thought I should share.
My friends at webapper discovered an issue with CFSWITCH under load where the expression was a string.
In my presentations, I often encouraged the use of CFSWITCH over using if/elseif logic. [...]
Tags: Uncategorized