Archive for April, 2003

Three New TechNotes

cfform errors with ColdFusion MX on multihomed servers

Configuring the Microsoft SQL Server 2000 JDBC driver

Data source verification fails for Oracle JDBC Thin Driver

Controlling Whitespace in ColdFusion

With browsers being as generous as they are about whitespace, ColdFusion, like every other scripting language I have used, doesn’t seem to make much of an effort to keep it to a minimum. Typically, whitespace is not a concern since browsers handle it so well, however if you are trying to generate an XML document, it can be a big problem. That’s why we have tags like cfsilent, cfprocessingdirective, and cfsetting, and that’s why we have the ability to enable whitespace management in the ColdFusion administrator. However, CFMX for J2EE doesn’t seem to come with the whitespace management option, and sometimes no matter what combination of whitespace management tags I use, I simply cannot prevent the server from writing out a few carriage returns at the top of the document (which makes for invalid XML). I finally discovered the ultimate solution.

Continue reading…

XML-RPC and ColdFusion

Roger Benningfield of JournURL has created a nice component interface for using XML-RPC with ColdFusion MX. I haven’t tried it yet, but I’m about to. I will let you know what I find. You can find information on his project here:

Thanks for this contribution to the ColdFusion community, Roger. This has the potential to save a lot of people a lot of time.

Ben & Jerry’s Switches to CFMX, Flash MX and DW MX

Ben and Jerry’s Ice Cream recently “went dynamic” by upgrading their
static 600 HTML page site to a full database driven CF MX, Flash MX and
DW MX powered site. Check it out:

But even more important is the fact that tomorrow (4/29) is free cone day, so
go get yourself some free ice-cream at any Ben and Jerry’s between noon and 8PM!

Apple Releases Very Cool New iPods

Very cool. Check it out:

  • 10, 15 and 30 GB
  • New button and menu system
  • A dock for recharging, synching, and line out
  • Three games: Solitaire, Brick and Parachute
  • Text reader (one step closer to a PDA)
  • Sleep timer and alarm for falling asleep and waking up
  • Slimmer and lighter
  • New version of iTunes that lets you buy and download music

Details here:

How Equals Works in Java

I saw some confusion about this matter on a list this morning, so I thought I’d clarify things here:

Continue reading…

Order of Anchor Selectors in CSS

Remember that the order of pseudo-class definitions on your CSS file matters! I came across someone today who claimed that the links on his page were behaving inconsistently. Sometimes they would follow the a:hover definition, and sometimes they wouldn’t. To make matters worse, although the behavior was inconsistent on all browsers he tested with, the inconsistencies were not consistent from one browser to another! The problem was that his rules were out of order. He had something like this…

A:link    { color: red }
A:hover   { color: yellow }
A:visited { color: blue }

… when it should have been this …

A:link    { color: red }
A:visited { color: blue }
A:hover   { color: yellow }

Links that he had visited were turning blue rather than yellow when he hovered over them. He said it was enough to make him want to go back to JavaScript image roll-overs! Believe me, it’s easier to fix your style sheet. For more information, see:

Crystal Reports — An Informal Survey

I have a few questions about the cfreport tag and the use of Crystal Reports in general.

  1. How many of you out there use the cfreport tag to generate Crystal Reports?
  2. What version of reports do you generate?
  3. What do you use the reports for?
  4. How important is the cfreport tag to you?

Feel free to answer here or email me directly.

Three New ColdFusion TechNotes

ColdFusion debug information using Mode=debug

Diagnostic JAR file for data source connection issues

Data Source Undefined errors when working with ODBC Socket data sources

What is Firefly?

Firefly refers to a set of components available on the new Flash MX Data Connection Kit. From the website:

The Data Connection Kit provides prebuilt connections to web services, XML data, databases, and application servers so you can easily access, save, and display data.

I saw a demo yesterday of how easy it is to create “data aware” components which hook together into rich, dynamic applications. Very impressive stuff. You can find out more here: