[Zope] standard_error_message in ZPT

2005-12-27 Thread Sam Boggess
Does anyone know if it possible to rewrite the standard_error_message  
in Page Templates?

And if so how do you reference the objects within the error message?

p tal:content=here/error_valueerror value/p

doesn't work.

Thanks.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] standard_error_message in ZPT

2005-12-27 Thread Tino Wildenhain
Sam Boggess schrieb:
 Does anyone know if it possible to rewrite the standard_error_message 
 in Page Templates?

Yes.

 And if so how do you reference the objects within the error message?
 
 p tal:content=here/error_valueerror value/p

Its options/error_value

The object is called with named arguments - hence the options namespace
in ZPT.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )