another function. You can see it from function heading that the output is
set to false.
As for the use of cfcatch, maybe this was not a good example, but I want to
give more detailed error messages and/or perform recover operation on error.
A general cferror page would be just too general for what I need. I guess it
all comes down to what one needs the code to do in a given situation.
TK
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 2:18 PM
To: CF-Talk
Subject: RE: CFCs that perform INSERT...yikes...
> So is what he did a pretty good example of an insert CFC? I
> like his explanations of why he chose to do what he did. I
> lost my "Advance CF" book from Figleaf, so I can't go by any
> of that cool course stuff, so I'm winging it as I go. Are
> there any cool tutorials to go by online that you or anyone
> knows of that go over best practices for an INSERT CFC?
I don't think there's anything wrong with his example, in general,
although
I don't like the use of CFTRY/CFCATCH within a CFTRANSACTION generally,
nor
do I like having a component write a raw error message to a page.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

