what is error_message and how do I alter it??
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? Thanks for the help, Trevor
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/ ---------------------------------------------
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 )
On Wed, Oct 03, 2001 at 11:41:18PM -0400, Trevor Toenjes wrote:
Ironically, http://www.zope.org/standard_error_message is missing '>' which prevents the submit button to work. ;)
Gosh, noone ever noticed that, and it has been missing since the beginning (September 1999). It worked fine without in Netscape, and the button never worked in Internet Explorer because it doesn't support the 'view-source' protocol. Thanks for seeing this, I added the missing bracket! -- Martijn Pieters | Software Engineer mailto:mj@zope.com | Zope Corporation http://www.zope.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
participants (2)
-
Martijn Pieters -
Trevor Toenjes