Monthly Archives: November 2008

November 15, 2008
Forgot to import your ColdFusion tag libraries?

I’ve been bitten by the “forgetting to add <cfimport>” when importing ColdFusion custom tags before. If you also have then you know what I mean and have shared the frustration…basically your custom tag does nothing but you get no error from ColdFusion, nada, zip! Depending on the scenario this can lead to some wasted hair [...]

November 12, 2008
Google releases video chat

For those that use gtalk/gmail, google have finally caught up and released voice and video chat.
They even help you buy a webcam!

November 12, 2008
var scoping – how and where do you set your function variables?

As everybody knows you should var scope ALL local function variables inside ColdFusion components, and these variables must be declared at the top of your function before any other code. If you place other code above a “var” scoped variable in your method signature an exception will be thrown.
Depending on how you define you methods [...]

November 10, 2008
“Invalid serial number” when upgrading to Flex Builder 3 Pro

Ok this was annoying…I had an older trial version of the standalone Flex Builder 3 on my system (Mac 10.5) and wanted to activate it with a new serial for FB3 Professional.
Whenever I entered the serial in “Help -> Manage Flex Licenses” I kept getting a message saying “Invalid serial number” even though it was [...]

November 3, 2008
Caveat using dateDiff() to compare difference in days

I had some problems a little while ago using dateCompare() and the same thing bit me recently with dateDiff(). Well really I had a problem with createODBCDate(), but let me explain.
I wanted to compare the “day” value between 2 dates like;

<cfscript>
date1 = now();
date2 = myQuery.dateCreated;

dateDifference = dateDiff("d", date1, date2);
</cfscript>

The initial problem was that “myQuery.dateCreated” has [...]