could just say exception="Any" and take care of it all.  I could email you
the code we use for the error template, although haven't tested it on MX.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                            
                    "Giles                                                             
                            
                    Roadnight"           To:     <[EMAIL PROTECTED]>         
                            
                    <giles@roadni        cc:                                           
                            
                    ght.name>            Subject:     Re: [ cf-dev ] CFMX, looping 
through error varaibles         
                                                                                       
                            
                    10/10/02                                                           
                            
                    02:29 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    dev                                                                
                            
                                                                                       
                            
                                                                                       
                            



oh yes, while I am here why do I sometimes get a nice looking formated grey
box with an error message in it instead of my error template being loaded.
In my application page I have request, validation and exception all
pointing
to my error template, am I missing any? I did have monitor too but MX told
me that that is no longer supported.

Giles

----- Original Message -----
From: "Giles Roadnight" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 2:26 PM
Subject: [ cf-dev ] CFMX, looping through error varaibles


> Hi. I am writing an error template. I want to loop through all of the
> availiable error variables, put them in a form, submit them to another
page
> then e-mail them to myself.
>
> I have this code:
>
> <cfloop collection=#error# item="i">
> <cfif i is not "generatedcontent">
> #i# #evaluate("error.#i#")#<br>
> </cfif>
> </cfloop
>
> but I get an error going on about complex and simple objects and how I
can't
> convert one to the other. this code works fine if I leve out the evaluate
> bit and I get a list of the availiable variables.
>
> Is this somethig to do with MX handling evaluate differently or it it
> because you can only have limited CF tags on the error  template?
>
> Thanks
>
> Giles
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to