Using argumentCollection with Super
I recently had the need to use argumentcollection with super. Unfortunately,
super can't be used with argumentCollection or with named arguments (which
would allow me to loop through a structure and set arguments with
cfinvokeargument).
Fortunately, I found a solution in the comments of the ColdFusion LiveDocs.
As pointed out by "eblackey" (on "Using inheritance and the Super keyword"),
if you copy super to this.super, you can then reference methods of this.super
using argumentCollection or named arguments.
Adding this line to the pseudo-constructor (anything within ,
but not inside any method - that is not in ), will copy super to
this.super.
Then, when calling a method ("myMethod()" in... (more)
Have you ever been to a site and gotten a pop-up box telling you about a
JavaScript error on the page? It can be really annoying.
What's worse is that the person responsible for maintaining the site doesn't
even know that the error occurred.
This article isn't about ColdFusion error handling. That was covered in 2000
and 2001 in CFDJ by Charlie Arehart's four-part series, "Toward Better Er... (more)
HTML in Application.cfm
The CF_Talk list recently had a discussion about whether it is acceptable to
put HTML in Application.cfm. I thought the topic was a very worthy one, but
ended up shedding as much heat as light.
I will do my best to shed some light on the topic.
In the short-run, putting HTML in Application.cfm (or including HTML from
Application.cfm) can speed up development. If your ... (more)
Steve Bryant's CFDJ Blog
I realize that DataMgr 2.0 hasn't been out long, but I thought of a few
features that I wanted near the end of the 2.0 development cycle. Since they
required a fair bit of extra effort, I thought it best to hold them over for
a "2.1" release.
Although I have been given some good ideas for future versions of DataMgr,
the 2.1 version will probably be the last major ... (more)
Most sites have similar issues related to the site layout. I have seen many
solutions that solve some challenges related to layout, but fail to handle
others elegantly. I have found that using layout components elegantly solves
all of the layout problems I have faced.
What Do I Want?
Here are my goals for handling layouts. I want to:
Make edits to the layout in one place Easily switch layo... (more)