You want to "exit with error message", but you don't want the system to throw an error.
So, then send the user to a web page - with an error message on it?

If you want to exit a processing loop, there's CFBREAK.
There's also CFEXIT, but that's more for custom tags.

Al

On 3/7/2013 2:56 AM, Kym Kovan wrote:
<cfabort> is a legit tag, been around for ever:

http://openbd.org/manual/?/tag/CFABORT

try <cfabort> on its own, it should just stop the processing.

Kym

On 7/03/2013 8:13 PM, Manuel Reimer wrote:
Kym Kovan schrieb:
<cfabort> is your friend. It stops processing dead in its tracks so
super-safe.

the full tag is <cfabort showError="a nice text message"> which you
could use for your message, that or put a bit of html before this tag.
I've just tried

<cfabort showError="test">

And for me it results in the following error:

CFML Runtime Error
Need some help? Visit our manual http://openbd.org/manual/
General Runtime Error
Request    /path/file.cfm
File Trace    /local/www/path/file.cfm

Type    Application
Detail    test
Tag Context    CFABORT (/local/www/path/file.cfm, Line=9, Column=1)


So it seems like cfabort throws an exception which is not really what I
wanted to get. I use OpenBD 3.0

Yours

Manuel



--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to