Five Cool Additions and One Undocumented Function in 8.0.1
April 24, 2008
The release notes for ColdFusion 8.0.1 detail 10 pages of tweaks and new features. Here are five cool additions, and one undocumented function, in no particular order:
- Leopard and 64 bit support
Considering the devoted followers of both CF and Apple it was no surprise to see install solutions for CF8 popping up within hours of Leopards release. As cool as that is a supported release along with 64-bit support is extremely nice. And, wow, the speed of CF8 on Leopard 64 bit is impressive; re-inits take half the time they use to. - Nested Implicit Structure/Array
Nested structures and arrays have always been possible. Now the implicit expressions work as well like so:<cfset variables.nestIt = {a=[{no="you did not", yes="I did", oh=["and on",["and on"]]}]}>
- cfwindow refreshOnShow attribute
When using a source for cfwindow the default behavior is to cache the response for when the window is closed and then opened. I recently stumbled into this problem in an application I'm building. When refreshOnShow = true anytime the window is shown the content will be grabbed from the server. - Watermark with html
cfpdf action="watermark" can now take html with formating in addition to an image. A nice, nice addition. - Richtext area for Safari
Finally! WYSIWYG textarea support for Safari (3.0 and up) users. Big thanks should go to the FCKEditor team on this one since its their work along with Adobe's integration that makes it possible to do and have a rich textarea. I am especially happy with this as Safari is my current favorite browser (this can and does change often).
The other addition is an undocumented function: getPrinterList() that well, returns a list of printers that cfprint can print to.
(I will be presenting "Creating, Manipulating and Printing PDFs" and "Intro to CFML as a Language" at CFUnited in June.)
No Comments
Some comments have been lost over the years due to moving hosts.