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

Trevor Toenjes zope@toenjes.com
Wed, 3 Oct 2001 23:41:18 -0400


Ironically, http://www.zope.org/standard_error_message is missing '>' which
prevents the submit button to work.  ;)

I guess this is my intro to Python exceptions.  is it that simple?

Thanks
Trevor



> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Martijn Pieters
> Sent: Wednesday, October 03, 2001 10:32 PM
> To: Trevor Toenjes
> Cc: zope@zope.org
> Subject: Re: [Zope] what is error_message and how do I alter it??
>
>
> 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/
> ---------------------------------------------
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )