[Zope] what is error_message and how do I alter it??

Martijn Pieters mj@zope.com
Wed, 3 Oct 2001 22:31:57 -0400


On Wed, Oct 03, 2001 at 10:29:47PM -0400, Trevor Toenjes wrote:
> I am trying to improve the usability of the standard_error_message for a
> public site. like adding a search, suggestions for what users might be
> looking for, etc.
> However this part of the standard_error_message has stumped me.
> 
> <dtml-if error_message>
>   <dtml-var error_message>
> <dtml-else>
> 
> I have read the one how-to I could find and some threads, but no real
> solutions.
> What is error_message?
> Where does the autoformatting come from, and how do I alter it?
> Can I modify it to just grab the error and not all the other Zope stuff?
> 
> Is there a library of these error messages that can be modified to provide
> better information for users to find what they are looking for.  they come
> from somewhere?
> Formulator allows you to customize your error messages. Shouldn't this be as
> open?
> 
> Why is this so stealthy compared to the rest of Zope?
> Why should I have to turn off debugging for tracebacks to be commented out
> in the HTML?
> If it is an object, then I can include it or not in my
> standard_error_message, right.
> So if I have error_tb in my standard_error_message, then it renders, if
> not - it's hidden.
> Why isn't it treated like an object like the rest of Zope?
> 
> I cannot find any products that handle error_messages or address user
> usability.
> 
> Sorry for the rant.  I am new to Zope.  ;)
> Am I missing something?

Here is a start:

  http://www.zope.org/standard_error_message/view_source

-- 
Martijn Pieters
| Software Engineer  mailto:mj@zope.com
| Zope Corporation   http://www.zope.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------