[Zope] standard_err_message ques... repost

AM list_subscriber@neurobs.com
Sun, 06 Oct 2002 18:20:57 -0700


Hi,
I posted this about 4 days back but did not get a resolution or any 
ideas as to what I might be doing wrong.

I was trying out the suggestions regarding custom error handling 
mentioned @
http://www.zope.org/Members/JohnC/StandardErrorMessage

and put a simple

<dtml-if "error_type=='NotFound'">
 <dtml-call "RESPONSE.redirect(errors.e404.absolute_url())">
</dtml-if>
at the top of my standard_error_message.

Unfortunately when I try to hit a non-existant page I do not get 
redirected to the error page, I still get the Debugging Notice.... blah 
blah blah

If I put a <dtml-var error_type> at the top I do get the NotFound at the 
top of the error page.

Why is this not being handled.??
TIA
AM

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================