No, you can use cfabort if you want to. It just depends on how you want to handle error conditions.
======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Steven Dworman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 10:11 AM > To: CF-Talk > Subject: RE: CFAbort in 5.0 > > > I think you're supposed to use cfexit in custom tags. > > > Steven D Dworman > -------------------------------------------------------------- > ----------- > Web Consultant > Systems Administrator > > ComSpec International - http://www.comspec-intnl.com > phone: 248.647.8841 > cell: 734.972.9676 > -------------------------------------------------------------- > ----------- > EMPOWER-XL ***Software for Higher Education*** > http://www.empower-xl.com > -----Original Message----- > From: Steven Lancaster [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 9:52 AM > To: CF-Talk > Subject: RE: CFAbort in 5.0 > > I use it all the time and have not had a problem. I am running CF 5 on > win2000 sp2. > > -steve > Voting for Todd for <cfbetter>tomorrow</cfbetter> > > > -----Original Message----- > From: Jeff Beer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 8:48 AM > To: CF-Talk > Subject: CFAbort in 5.0 > > > Is anyone else havving problems with CFAbort in CF 5.0? > > Pretty simple code - I have a custom tag that checks for required > attributes. if the attribute is an empty string or is not > present, a text > message is shown then it hits a CFABORT tag: > > <cfif (NOT IsDefined('attribute.color')) OR (NOT > LEN(attribute.color))> > > The attribute "Color" is required. > <cfabort> > > </cfif> > > > I can see the text message flash on the screen, but the > process does not > stop at the CFABORT. There's no redirection anywhere in the > cutom tag, or > in the code after calling the tag - it's a normal display of HTML. > > Any ideas? I'm pretty stumped. > > Thanks, > > Jeff > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

