August 28, 2006
DateDiff() is usually used to perform date difference calculations. But for simple difference calculations you can subtract dates from each other, like this: #Now()-mydate# days since #DateFormat(mydate)# The returned number will likely not be an integer, and will contain date fractions too, so you...
August 27, 2006
I was working on a Flex component to display ColdFusion debug data in a usable format, but then learned that Mike Nimer had beaten me to it (and created something far more elaborate than I was planning). So, if you are looking for something akin to in Flex (usable with any AS3 objects, including...
August 27, 2006
I just had to debug some really old code that used to work. I found the issue, and it appears that the code broke in going from CF5 to CFMX (yep, it is code that is not used very often). I was using to process file uploads, and was using the destination attribute to specify the full path of the...
August 27, 2006
is used to define and run ColdFusion scheduled tasks. For some reason the tag does not return a list of defined tasks, and a user on cf-talk asked for this functionality recently. So, until we update , here is a UDF that returns a query containing the details about all scheduled tasks. The bulk of...
August 26, 2006
If you want to learn about the basics of ColdFusion Flex integration, and the relationship between the two, check out Oliver Merk's new CFDJ article entitled An Introduction To Flex 2 For ColdFusion Developers .
August 24, 2006
Rahul Narula is part of our Bangalore team, some of you met him at CFUNITED a few months ago (where he challenged me to a basketball shootout ). Rahul is now blogging . The blog name makes it clear that he'll be covering ColdFusion (and he has already posted some goodies), but he also plans on...
August 23, 2006
ColdFusion queries are flat and non-hierarchical. The Flex control supports data specified in a variety of formats, all of which are hierarchical and not flat. Each time I need to populate a Tree control with dynamic query data I find myself jumping through hoops to convert the data into something...
August 21, 2006
An app I am working on needs to check the Java CLASSPATH (I am trying to return more useful errors if a call fails). The CLASSPATH is a Java property (kind of like environment variables) named java.class.path, and to obtain this value all you need to do is call getProperty() in java.lang.System. To...
August 19, 2006
Marcel Boucher is the Product Manager in the Technical Marketing Team for the Adobe Enterprise and Developer Business Unit (whatever that means!). In practice, he's a hardcore techie who has been with Adobe for a decade or so, has been involved with LiveCycle for years, is a Java-head ... and he...
August 17, 2006
Lots of community folks know Adam Lehman. He's been involved with ColdFusion since the very early days, he founded and managed the Department of State Adobe Developer User Group for over two years, he has created content for the Macromedia DRKs, and he has spoken at many CF events. He is also our...