ZCML File
configure.zcml
[top]
/
zope
/
app
/
error
/
browser
/ configure.zcml
<
zope:configure
xmlns
="
http://namespaces.zope.org/browser
"
xmlns:zope
="
http://namespaces.zope.org/zope
"
>
<
pages
class
="
.ErrorRedirect
"
for
="
*
"
permission
="
zope.ManageContent
"
>
<
page
name
="
errorRedirect.html
"
attribute
="
action
"
/>
</
pages
>
<
menuItem
menu
="
zmi_actions
"
for
="
*
"
title
="
Errors
"
action
="
@@errorRedirect.html
"
/>
<
pages
class
="
.EditErrorLog
"
for
="
zope.error.interfaces.IErrorReportingUtility
"
permission
="
zope.ManageServices
"
>
<
page
name
="
index.html
"
template
="
error.pt
"
menu
="
zmi_views
"
title
="
Errors
"
/>
<
page
name
="
configure.html
"
template
="
error_config.pt
"
menu
="
zmi_views
"
title
="
Configure
"
/>
<
page
name
="
edit.html
"
attribute
="
updateProperties
"
/>
<
page
name
="
showEntry.html
"
template
="
errorentry.pt
"
/>
<
page
name
="
showTextTBEntry.html
"
template
="
texttbentry.pt
"
/>
</
pages
>
<
addMenuItem
title
="
Error Logging Utility
"
description
="
Error Reporting Utility for Logging Errors
"
permission
="
zope.ManageServices
"
class
="
zope.error.error.ErrorReportingUtility
"
/>
<
icon
name
="
zmi_icon
"
for
="
zope.error.interfaces.IErrorReportingUtility
"
file
="
error.gif
"
/>
</
zope:configure
>