[Zope] ZPT, standard_error_message and error_value

Richard Wesley hawkfish@electricfish.com
Mon, 4 Nov 2002 14:41:33 -0800


I am having a rather surreal time here.  I am attempting to write a 
ZPT version of standard_error_message under Zope 2.5.0 and I find 
that I cannot display the options/error_value field.  If I dump out 
the entire options dictionary, error_value is there and gets 
displayed as something like <Products.PageTemplates.TALES.Undefined 
instance at 0x831c384>, but if I attempt to render it in ZPT (just 
using what the CMF folks did) I get a generic error message of some 
kind.  DTML has no trouble rendering the same thing as a file/line 
type error message but ZPT blows chunks.

Any hints greatly appreciated.

TIA,
Sincerely,

Richard Wesley
Co-President, Electric Fish, Inc.
<http://www.electricfish.com/>
(v) +1-206-493-1690x210
(f) +1-206-493-1697