coldfusion

Wednesday Contest Solution (pt. 1)

Since I had a whopping zero takers for my contest, I'm thinking it won't be a repeat event. Here's my solution for the first portion of the challenge:
<cfif NOT isDefined("attributes")>
<cfset attributes = structNew() />
<cfset structAppend(attributes, form, false) />
<cfset structAppend(attributes, url, false) />
</cfif>
<cfparam name="attributes.width" default="100″ />
<cfparam name="attributes.height" default="100″ />
<cfparam [...]

Contest Update

For those of you who missed it, I posted a little contest this morning and have gotten a whopping zero submissions!  There is still time to submit a solution, but be quick, as my solution (just the base, not extra credit) will be published tomorrow morning.  I'll be posting a full solution (with the extra [...]

Wednesday Contest

Wednesday Contest

Today's contest uses the new image manipulation routines in ColdFusion 8. The objective is to take the custom tag/template skeleton below and add to it so that it'll generate the following image:

The tag/template can be invoked as a custom tag, or directly on the URL with URL and/or form parameters to set it's values. [...]

CF8 and Batik (for SVG)

CF8 and Batik (for SVG)

I just discovered that CF8 ships with a more complete Batik than CF7 did. Out of the box it's capable of transcoding SVG graphics to PNGs, which CF7's implementation wasn't capable of doing. With CF7 you had to move the partial Batik that came bundled and replace it with a full version to [...]

CF8 Mail Spool Directory

After a couple days of CF8, I noticed I wasn't getting the emails I was supposed to be getting. Turns out the CF8 installer, at least in multi-server mode, doesn't set the right permissions on the /WEB-INF/cfusion/Mail subdirectories, so CF can't write out the mail spool files. Flipping them to the right group [...]

CF8 Scheduled Task Migration

Turns out the migration of my scheduled tasks wasn't quite perfect.  A couple of them hit a URL protected by HTTP Basic Authentication, and the password didn't translate correctly.  It appears they are stored encoded, so I expect the encoding scheme changed.  Worse, the encoded value of one of them had a double quote which [...]

My ColdFusion 8 Upgrade

I just upgraded my workstation to ColdFusion 8 today, as well as installed it on my server (though it's just testing at this point).  Since it's my first real-world CF8 experience, I figured everyone would want to hear all about it, especially the new features that made the process much easier.
The real motivation for the [...]

Flex2 (and 3) RemoteObjects over SSL with ColdFusion

I just deployed a Flex app to an SSL secured host, and ran into some issues getting AMF over SSL working.  Googling turned up the answers, but in rather fragmented form.  So I'm coalescing them here.  In a nutshell, you have to create a new channel (my-secure-amf) that uses the secured versions of the AMF [...]

RequestMonitor.getRequestTimeout()

Ever wanted to know what the request timeout is for the currently-running ColdFusion request? The static 'getRequestTimeout()' method on the 'coldfusion.runtime.RequestMonitor' class knows. Tested to work on both CF7 and CF8.
Why might you want to know? So you can set a request timeout, but only if it's not lower than what is [...]

CF8 Bug Fixed

I have to give some props to the Adobe CF team.  Yesterday I reported a bug in CF8 via the Adobe bug report/feature request form.  In a nutshell:
There is a change in behaviour between CF6/7 and CF8 with CFQUERY's NAME attribute.  The earlier versions allow the empty string to be passed, but CF8 didn't (it [...]