[ZPT] How to access "error_type" and "error_value" by ZPT

Evan Simpson evan@zope.com
Mon, 28 Jan 2002 10:39:07 -0500


iap@y2fun.com wrote:
> I want to customize the "standard_error_message" by creating a
> PageTemplate instance named "standard_error_message".
> But I have trouble to access error_type and error_value.

You get them through "options", as in tal:replace="options/error_value".

Cheers,

Evan @ Zope