pyroxide.control.error (version 19 , 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) )
index
/usr/lib/python2.4/site-packages/pyroxide/control/error.py

The default error controller.

 
Modules
       
logging

 
Classes
       
pyroxide.view.zpt.ZopePageTemplate
ErrorController

 
class ErrorController(pyroxide.view.zpt.ZopePageTemplate)
    Default error controller
 
  Methods defined here:
__init__(self, config=None, viewTemplate=None, languages=None)
buildResponse(self, exception)

Methods inherited from pyroxide.view.zpt.ZopePageTemplate:
addToViewContext(self, var, value)
Add a variable and value to the view context.
 
The view context will be used to render the template, replacing all
variables with the values set in the context.
flushTemplate(self, encoding='utf-8', suppressXMLDeclaration=1)
Render the template based on the view context.
 
The return of this function will be the rendered template as a string.
This output is what should be used to set the message body of the
response.

 
Functions
       
l10n(config=None, languages=None)

 
Data
        PAGE_FOOTER = '\n </pre>\n </body>\n</html>\n'
PAGE_HEADER = '\n<html>\n <title>%s</title>\n <body>\n <a href...r-style: none"/></a>\n <div>%s</div>\n <pre>\n'
__HeadURL__ = '$URL: http://pyroxide.org/svn/pyroxide/trunk/src/main/python/pyroxide/control/error.py $'
__Id__ = '$Id: error.py 19 2006-12-11 07:18:58Z kevin $'
__LastChangedBy__ = '$Author: kevin $'
__LastChangedDate__ = '$Date: 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) $'
__Revision__ = '$Rev: 19 $'
__copyright__ = '(c) 2006 rootsmith Inc.'
__date__ = ' 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) '
__version__ = ' 19 '