[Zope] standard_error_message

T.J. Mannos MannosTJ@slcc.edu
Thu, 3 Aug 2000 09:17:20 -0600


Rodrigo,

Two ways I can think of, just off the top of my head:

1. If you want just certain directories to have a different
standard_error_message, create a standard_error_message method in those
directories.  (I've heard people complain of problems with this method,
though).

2. Encapsulate your document or method with <dtml-try> / <dtml-except> tags,
as such:
	<dtml-try>
		...
		your DTML method here
		...
	<dtml-except>
		<dtml-var not_so_standard_error_message>
	</dtml-try>

Then let me know if it works, becuase I might try the same thing.  :)

- T.J.

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Diego
Rodrigo Neufert
Sent: Thursday, August 03, 2000 8:40 AM
To: zope@zope.org
Subject: [Zope] standard_error_message


Hi.

Anyone know how to specify other error msg file?
I want the standard_error_message to still be my default error msg file but
for
some dtml's I want to change it...

Thanks

 --
---------------------------
Diego Rodrigo Neufert
-webmaster
---------------------------
(Magic Web Design)
(email) (diego@magicwebdesign.com.br)
(curitiba) (pr)

_______________________________________________
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 )