Daniel Short wrote:
Here's what I came up with for a generic error handler. It does currently
have one function that's used to get a class for an errored input field, but
this will most likely be moved out into a manager cfc at some point. Any
feedback would be greatly appreciated, since this is a new arena for me.
Thanks,
Dan
I know it's been a month since this topic ended, but I was looking over
the error handler and it looks pretty good. My only suggestion is to
include a init() method that returns THIS. I think it could be
considered best practice to have an init() method even if it doesn't do
anything.
Best,
.pjf
--
Peter J. Farrell :: Maestro Publishing
blog :: http://blog.maestropublishing.com
email :: [EMAIL PROTECTED]
Create boilerplate beans!
Check out the Mach-II Bean Creator - free download.
http://blog.maestropublishing.com/mach-ii_beaner.htm
I've learned that artificial intelligence is no match for natural stupidity.
--
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]