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]
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]
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]
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.
- <!--[if lte ie 6]>
-
<style type="text/css" media="screen">
- .uniForm,
- .uniForm fieldset,
- .uniForm .ctrlHolder,
- .uniForm .formHint{ /* Trigger hasLayout, move to your IE specific stylesheet if possible */
- zoom:1;
- }
-
</style>
-
<![endif]-->
If you hadn't previously downloaded, the new zip file has the code plugged into the index.cfm file.
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.
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]
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]