Good suggestion - I'll give that a try today. Thanks to all who replied - I'll look into this further and let you all know if I find anything substantial or if it's an error I introduced and haven't found yet :)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:25 AM To: CF-Talk Subject: RE: CFAbort in 5.0 Hi, cfexit only exits the customtag and passes control back to the calling template which is then processed. Generally speaking it might be better using cfthrow or cfrethrow to pass the error message back to the calling template and let it worry about the error. But that doesn't explain why cfabort is not working properly. cheers... > 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

