QuackFuzed.com is the personal ColdFusion coding blog of Matt Quackenbush. It exists primarily as a place for the author to learn, and hopefully to assist others in learning and/or avoiding some of the same pitfalls and mistakes. (Quack certainly makes enough mistakes daily to make up for the entire ColdFusion community.)

More XHTML Forms - Custom Forms and The Uni-Form Custom Tag Library

Posted on December 30, 2007 at 2:58 PM in ColdFusion, Uni-Form Tag Library

In my original post releasing the tag library I said that I'd post more as I had time to do so. I figured that today I'd take a short break from what I've been working on and write something up.

First, I should point out that there have been a couple of changes made, so the download has been updated. Be sure to get the latest files. The changes mostly involve textareas: (a) I had forgotten to output the provided value, and (b) I updated the fieldset.cfm and field.cfm files to trim() any content generated by the tags. (The trim() is not mission-critical, just cleans up the resultant HTML a little bit.)

So, without further ado, let's get to it.

[Continue Reading]

ColdCourse Integration in ColdBox 2.5

Posted on December 23, 2007 at 5:00 AM in ColdBox, ColdFusion

ColdBox 2.5 now has native support for Adam Fortuna's ColdCourse project. Man, this stuff is totally awesome! Prior to the last few days of digging into 2.5, I had only had a chance to casually glance at ColdCourse. Thanks to Luis Majano and Russ Johnson for working hard to get ColdCourse implemented.

Now, instead of having a URL like this one...

[Continue Reading]

Upgrading From ColdBox 2.0.x to 2.5.1

Posted on December 21, 2007 at 7:45 PM in ColdBox, ColdFusion

If you have not yet taken a look at the latest ColdBox release, 2.5.1, I really recommend that you do. It is an especially exciting release for me personally, as it now permits each of the following:

1. external event handlers
2. "flash" memory on setNextEvent() / setNextRoute()
3. internal support for Adam Fortuna's ColdCourse project

There are, however, a couple of "gotchas" that I wanted to pass along.

[Continue Reading]

Uni-Form Custom Tag Update

Posted on December 17, 2007 at 12:23 AM in ColdFusion, Uni-Form Tag Library

Oooops! I left out one little piece of important code with the original demo zip file. For those who downloaded it prior to about 11PM Eastern on Sunday night (12/16/07), you'll need this little snippet added to your form page so that it'll render properly in IE6 and below.

  1. <!--[if lte ie 6]>
  2. <style type="text/css" media="screen">
  3. .uniForm,
  4. .uniForm fieldset,
  5. .uniForm .ctrlHolder,
  6. .uniForm .formHint{ /* Trigger hasLayout, move to your IE specific stylesheet if possible */
  7. zoom:1;
  8. }
  9. </style>
  10. <![endif]-->

If you hadn't previously downloaded, the new zip file has the code plugged into the index.cfm file.

Using Design Patterns With ColdFusion

Posted on December 16, 2007 at 3:47 PM in ColdFusion

I know I'm way late on this, I've just been so busy that I forgot to post about it. Nonetheless, even the bill collectors say "better late than never". :)

Be sure to check out Sean Corfield's recent presentation on the topic. It was a great preso, glad I got the opportunity to "be there". Thanks again to Luis Majano and Sean for making it happen.

ColdFusion Custom Tags for use with Uni-Form XHTML Forms

Posted on December 16, 2007 at 5:37 AM in ColdFusion, Uni-Form Tag Library

A few weeks ago I wrote about my joyous discovery of the Uni-Form markup, an XHTML Strict 1.0 valid markup for forms. At the time I had the thought of wrapping it up into a ColdFusion custom tag, but was way too busy with other items to even really look at it. Well, it just so happens that I've just gotten to the "time to write a bunch of forms for the admin interface" on a new project I'm working on, so off to write that tag I went.

[Continue Reading]

Method Composition Works Externally But Not Internally - reEscape(), reUnescape(), and reEscape2()

Posted on December 1, 2007 at 6:30 PM in General, ColdFusion

What is reEscape()?

Often times, when you pass a string through ColdFusion's built-in regular expression (regEx) functions [reFind()/reFindNoCase()/reReplace()/reReplaceNoCase()], the string needs to have regEx special characters escaped. reEscape() is a tidy little method that I wrote to do just that.

So, let's see reEscape() in action, and point out its good and its bad.

[Continue Reading]

CodeBassRadio

Latest Articles

Eventually something really brilliant and witty will appear right here.

Calendar

December 2007
S M T W T F S
« Nov   Jan »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Subscribe

Enter a valid email address.

The Obligatory Wish List