NO. It is only called when an error is thrown, but before any other
error handling mechanism.

-----Original Message-----
From: Craig Thomas [mailto:[EMAIL PROTECTED]] 
Sent: dinsdag 24 december 2002 15:08
To: CF-Talk
Subject: RE: Custom Error Templates


sounds like the monitor template is just another CF template?.

-----Original Message-----
From: Pascal Peters [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 8:52 AM
To: CF-Talk
Subject: RE: Custom Error Templates


Validation: when you use ColdFusion Server Side validation on a form and
you have a validation error.

Monitor: This is not an error type. The template defined for this type
will be called before any other error processing is done (including
cftry/cfcatch). After the exucution of the monitor template, the code
will continue executing (the error is rethrown) and the normal error
handlers will be called (for example your <cferror type="exception">).
It is used for logging errors when doing try/catch.

-----Original Message-----
From: Craig Thomas [mailto:[EMAIL PROTECTED]]
Sent: woensdag 24 april 2002 14:51
To: CF-Talk
Subject: RE: Custom Error Templates


Pascal, when are monitor or validation error's thrown and what are they?

-Craig Thomas

-----Original Message-----
From: Pascal Peters [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 2:59 AM
To: CF-Talk
Subject: RE: Custom Error Templates


You have 4 types of CFERROR tags: request, validation, exception and
monitor. The error pages called by request & validation don't execute
the cfml, except the references to error scope variables (only the
reference #error.myvar#, not a <cfoutput> around them). For exception &
monitor, you can use normal cfm templates.

Pascal Peters
Certified ColdFusion Advanced Developer
Macromedia Certified Instructor
LR Technologies
Av. E. De Mot, 19
1000 BRUSSELS, BELGIUM
Tel: +32 2 639 68 70
Fax: +32 2 639 68 99
Email: [EMAIL PROTECTED]
Web: www.lrt.be


-----Original Message-----
From: Wallick, Mike [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 23 april 2002 21:21
To: CF-Talk
Subject: RE: Custom Error Templates


Then why does it work sometimes?

I found that the CFML in my error template works fine, unless the error
is a "Request Timed Out" error.

Mike

-----Original Message-----
From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 2:24 PM
To: CF-Talk
Subject: RE: Custom Error Templates


No, you can't.  What happens if you have an error in the error page?


- Matt


-----Original Message-----
From: Wallick, Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 3:13 PM
To: CF-Talk
Subject: Custom Error Templates

Hey all.

I'm using <cferror> to define a custom request error template and I'm
having some strange issues:

Naturally, I want the error page to look like the rest of the site (I
like consistency). So I made the error template with the same colors,
style stuff, etc. as the rest of the site. Here's the problem:

Intermittently, the error page ignores any CFML tags, variables, etc.
that I placed in it. The only variables that evaluate consistently are
the #error.# variables. When I view the source, I can see some CFML
code.

What gives? Can't I use CFML in an error template?



         Mike Wallick
         Web Application Developer
         [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
         651.628.5377
         http://www.securecomputing.com
<http://www.securecomputing.com/>










______________________________________________________________________
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

Reply via email to